Instance Property

selectedRowIndexes

An index set containing the indexes of the selected rows.

Declaration

@property(readonly, copy) NSIndexSet *selectedRowIndexes;

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).

- deselectRow:

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

numberOfSelectedRows

The number of selected rows.

- isRowSelected:

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

- 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.