Instance Method

tableView:isGroupRow:

Returns whether the specified row is a group row.

Declaration

- (BOOL)tableView:(NSTableView *)tableView isGroupRow:(NSInteger)row;

Parameters

tableView

The table view that sent the message.

row

The row index.

Return Value

YES if the specified row should have the group row style drawn, NO otherwise.

Discussion

If the cell in row is an NSTextFieldCell object and contains only a string, the group row style attributes are automatically applied to the cell.

Group rows in NSView-based table views can be made to visually “float” by setting the table view method floatsGroupRows to YES.

See Also