Instance Method

hideRowsAtIndexes:withAnimation:

Hides the specified table rows.

Declaration

- (void)hideRowsAtIndexes:(NSIndexSet *)indexes withAnimation:(NSTableViewAnimationOptions)rowAnimation;

Parameters

indexes

An index set containing indexes of the rows to be hidden.

rowAnimation

An animation effect to be applied when the rows are hidden.

Discussion

Use this method when you no longer want the data to be visible to the user, but you don’t want to permanently remove the data. Hidden table rows have a height of zero and cannot be selected by the user. However, if a selected table row is hidden, it will remain selected.

Hiding a table row causes the tableView:didRemoveRowView:forRow: delegate method to be invoked.

See Also

Hiding and Showing Table Rows

- unhideRowsAtIndexes:withAnimation:

Unhides the specified table rows.

hiddenRowIndexes

The indexes of all hidden table rows.