Contents

selectCell(atRow:column:)

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

Declaration

func selectCell(atRow row: Int, column col: Int)

Parameters

  • row:

    The row of the cell to select.

  • col:

    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

Related Documentation

Selecting and Deselecting Cells