Instance Method

selectCellAtRow:column:

Selects the cell at the specified row and column within the receiver.

Declaration

- (void)selectCellAtRow:(NSInteger)row column:(NSInteger)col;

Parameters

row

The row of the cell to select.

column

The column of the cell to select.

Discussion

If the specified cell is an editable text cell, its text is selected. If either row or column is –1, then the current selection is cleared (unless the receiver is an NSRadioModeMatrix and doesn’t allow empty selection). This method redraws the affected cells.

See Also

Selecting and Deselecting Cells

- selectCellWithTag:

Selects the last cell with the given tag.

- selectAll:

Selects and highlights all cells in the receiver.

keyCell

The cell that will be clicked when the user presses the Space bar.

- setSelectionFrom:to:anchor:highlight:

Programmatically selects a range of cells.

- deselectAllCells

Deselects all cells in the receiver and, if necessary, redisplays the receiver.

- deselectSelectedCell

Deselects the selected cell or cells.