Instance Method

isRowSelected:

Returns a Boolean value that indicates whether the row at the specified index is selected.

Declaration

- (BOOL)isRowSelected:(NSInteger)row;

Parameters

rowIndex

The index of the row to test.

Return Value

YES if the row at rowIndex is selected, otherwise NO.

See Also

Selecting Columns and Rows

- selectColumnIndexes:byExtendingSelection:

Sets the column selection using indexes possibly extending the selection.

selectedColumn

The index of the last selected column (or the last column added to the selection).

selectedColumnIndexes

An index set containing the indexes of the selected columns.

- deselectColumn:

Deselects the column at the specified index if it’s selected.

numberOfSelectedColumns

The number of selected columns.

- isColumnSelected:

Returns a Boolean value that indicates whether the column at the specified index is selected.

- selectRowIndexes:byExtendingSelection:

Sets the row selection using indexes extending the selection if specified.

selectedRow

The index of the last selected row (or the last row added to the selection).

selectedRowIndexes

An index set containing the indexes of the selected rows.

- deselectRow:

Deselects the row at the specified index if it’s selected.

numberOfSelectedRows

The number of selected rows.

- selectAll:

Selects all rows or all columns, according to whether rows or columns were most recently selected.

- deselectAll:

Deselects all selected rows or columns if empty selection is allowed; otherwise does nothing.