Instance Method

setSelectionIndexes:byExtendingSelection:

Selects cells at the specified indexes.

Declaration

- (void)setSelectionIndexes:(NSIndexSet *)indexes byExtendingSelection:(BOOL)extendSelection;

Parameters

indexes

The indexes of the cells you want to select.

extendSelection

A BOOL value that specifies whether to extend the current selection. Pass YES to extends the selection; NO replaces the current selection.

See Also

Reordering and Groups Items

- selectionIndexes

Returns the indexes of the selected cells.

- setAllowsMultipleSelection:

Controls whether the user can select more than one cell at a time.

- allowsMultipleSelection

Returns whether multiple selections are allowed.

- setAllowsEmptySelection:

Controls whether an empty selection is allowed.

- allowsEmptySelection

Returns whether an empty selection is allowed.

- setAllowsReordering:

Controls whether the user can reorder items.

- allowsReordering

Returns whether the user can reorder items.

- setAnimates:

Controls whether the receiver animates reordering and changes of the data source.

- animates

Returns whether the receiver animates reordering and changes of the data source.

- expandGroupAtIndex:

Expands a group at the specified index.

- collapseGroupAtIndex:

Collapses a group at the specified index.

- isGroupExpandedAtIndex:

Returns whether the group at the provided index is expanded.