Up

# NSTableView

### Authors

Nicola Pero (`n.pero@mi.flashnet.it`)
Pierre-Yves Rivaille (`pyrivail@ens-lyon.fr`)
Fred Kiefer (`fredkiefer@gmx.de`)

Copyright: (C) 2000 Free Software Foundation, Inc.

### Contents -

1. Software documentation for the NSTableView class
2. Software documentation for the NSObject(NSTableDataSource) informal protocol
3. Software documentation for the NSObject(NSTableViewDelegate) informal protocol
4. Software documentation for the NSTableView(GNUPrivate) category
5. Software documentation for the NSTableViewDataSource protocol
6. Software documentation for the NSTableViewDelegate protocol

# Software documentation for the NSTableView class

## NSTableView : NSControl

> Declared in:
>   AppKit/NSTableView.h

> Conforms to:
>   NSUserInterfaceValidations

Availability: OpenStep
Description forthcoming.

Instance Variables
Method summary

- -_selectColumn:modifiers:
- -_sendDoubleActionForColumn:
- -addTableColumn:
- -allowsColumnReordering
- -allowsColumnResizing
- -allowsColumnSelection
- -allowsEmptySelection
- -allowsMultipleSelection
- -autoresizesAllColumnsToFit
- -autosaveName
- -autosaveTableColumns
- -backgroundColor
- -beginUpdates
- -canDragRowsWithIndexes:atPoint:
- -clickedColumn
- -clickedRow
- -columnAtPoint:
- -columnAutoresizingStyle
- -columnForView:
- -columnIndexesInRect:
- -columnWithIdentifier:
- -columnsInRect:
- -cornerView
- -dataSource
- -delegate
- -deselectAll:
- -deselectColumn:
- -deselectRow:
- -doubleAction
- -dragImageForRows:event:dragImageOffset:
- -dragImageForRowsWithIndexes:tableColumns:event:offset:
- -drawBackgroundInClipRect:
- -drawGridInClipRect:
- -drawRow:clipRect:
- -drawsGrid
- -editColumn:row:withEvent:select:
- -editedColumn
- -editedRow
- -endUpdates
- -frameOfCellAtColumn:row:
- -gridColor
- -gridStyleMask
- -headerView
- -highlightSelectionInClipRect:
- -highlightedTableColumn
- -indicatorImageInTableColumn:
- -insertRowsAtIndexes:withAnimation:
- -intercellSpacing
- -isColumnSelected:
- -isRowSelected:
- -moveColumn:toColumn:
- -noteHeightOfRowsWithIndexesChanged:
- -noteNumberOfRowsChanged
- -numberOfColumns
- -numberOfRows
- -numberOfSelectedColumns
- -numberOfSelectedRows
- -preparedCellAtColumn:row:
- -rectOfColumn:
- -rectOfRow:
- -reloadData
- -reloadDataForRowIndexes:columnIndexes:
- -removeRowsAtIndexes:withAnimation:
- -removeTableColumn:
- -rowAtPoint:
- -rowForView:
- -rowHeight
- -rowsInRect:
- -scrollColumnToVisible:
- -scrollRowToVisible:
- -selectAll:
- -selectColumn:byExtendingSelection:
- -selectColumnIndexes:byExtendingSelection:
- -selectRow:byExtendingSelection:
- -selectRowIndexes:byExtendingSelection:
- -selectedColumn
- -selectedColumnEnumerator
- -selectedColumnIndexes
- -selectedRow
- -selectedRowEnumerator
- -selectedRowIndexes
- -setAllowsColumnReordering:
- -setAllowsColumnResizing:
- -setAllowsColumnSelection:
- -setAllowsEmptySelection:
- -setAllowsMultipleSelection:
- -setAutoresizesAllColumnsToFit:
- -setAutosaveName:
- -setAutosaveTableColumns:
- -setBackgroundColor:
- -setColumnAutoresizingStyle:
- -setCornerView:
- -setDataSource:
- -setDelegate:
- -setDoubleAction:
- -setDraggingSourceOperationMask:forLocal:
- -setDrawsGrid:
- -setDropRow:dropOperation:
- -setGridColor:
- -setGridStyleMask:
- -setHeaderView:
- -setHighlightedTableColumn:
- -setIndicatorImage:inTableColumn:
- -setIntercellSpacing:
- -setRowHeight:
- -setSortDescriptors:
- -setUsesAlternatingRowBackgroundColors:
- -setVerticalMotionCanBeginDrag:
- -sizeLastColumnToFit
- -sortDescriptors
- -tableColumnWithIdentifier:
- -tableColumns
- -textDidBeginEditing:
- -textDidChange:
- -textDidEndEditing:
- -textShouldBeginEditing:
- -textShouldEndEditing:
- -tile
- -usesAlternatingRowBackgroundColors
- -verticalMotionCanBeginDrag

### addTableColumn:

- (void) addTableColumn: (NSTableColumn*)aColumn;
Availability: OpenStep
Description forthcoming.

### allowsColumnReordering

- (BOOL) allowsColumnReordering;
Availability: OpenStep
Description forthcoming.

### allowsColumnResizing

- (BOOL) allowsColumnResizing;
Availability: OpenStep
Description forthcoming.

### allowsColumnSelection

- (BOOL) allowsColumnSelection;
Availability: OpenStep
Description forthcoming.

### allowsEmptySelection

- (BOOL) allowsEmptySelection;
Availability: OpenStep
Description forthcoming.

### allowsMultipleSelection

- (BOOL) allowsMultipleSelection;
Availability: OpenStep
Description forthcoming.

### autoresizesAllColumnsToFit

- (BOOL) autoresizesAllColumnsToFit;
Availability: OpenStep
Description forthcoming.

### autosaveName

- (NSString*) autosaveName;
Availability: OpenStep
Description forthcoming.

### autosaveTableColumns

- (BOOL) autosaveTableColumns;
Availability: OpenStep
Description forthcoming.

### backgroundColor

- (NSColor*) backgroundColor;
Availability: OpenStep
Description forthcoming.

### beginUpdates

- (void) beginUpdates;
Availability: MacOS-X 10.7.0
Description forthcoming.

### canDragRowsWithIndexes: atPoint:

- (BOOL) canDragRowsWithIndexes: (NSIndexSet*)indexes atPoint: (NSPoint)point;
Availability: MacOS-X 10.4.0
Description forthcoming.

### clickedColumn

- (NSInteger) clickedColumn;
Availability: OpenStep
Description forthcoming.

### clickedRow

- (NSInteger) clickedRow;
Availability: OpenStep
Description forthcoming.

### columnAtPoint:

- (NSInteger) columnAtPoint: (NSPoint)aPoint;
Availability: OpenStep
Description forthcoming.

### columnAutoresizingStyle

- (NSTableViewColumnAutoresizingStyle) columnAutoresizingStyle;
Availability: MacOS-X 10.4.0
Description forthcoming.

### columnForView:

- (NSInteger) columnForView: (NSView*)view;
Availability: MacOS-X 10.7.0
Description forthcoming.

### columnIndexesInRect:

- (NSIndexSet*) columnIndexesInRect: (NSRect)aRect;
Availability: MacOS-X 10.5.0
Returns the indexes of the table columns which intersects the given rect. The rect is expressed in the receiver coordinate space. Hidden table columns are never tested.

### columnWithIdentifier:

- (NSInteger) columnWithIdentifier: (id)identifier;
Availability: OpenStep
Description forthcoming.

### columnsInRect:

- (NSRange) columnsInRect: (NSRect)aRect;
Availability: OpenStep
Returns the index range of the table columns which intersects the given rect. The rect is expressed in the receiver coordinate space. The returned range can include hidden table column indexes. This method is deprecated, use -columnIndexesInRect: .

### cornerView

- (NSView*) cornerView;
Availability: OpenStep
Description forthcoming.

### dataSource

- (id) dataSource;
Availability: OpenStep
Description forthcoming.

### delegate

- (id) delegate;
Availability: OpenStep
Description forthcoming.

### deselectAll:

- (void) deselectAll: (id)sender;
Availability: OpenStep
Description forthcoming.

### deselectColumn:

- (void) deselectColumn: (NSInteger)columnIndex;
Availability: OpenStep
Description forthcoming.

### deselectRow:

- (void) deselectRow: (NSInteger)rowIndex;
Availability: OpenStep
Description forthcoming.

### doubleAction

- (SEL) doubleAction;
Availability: OpenStep
Description forthcoming.

### dragImageForRows: event: dragImageOffset:

- (NSImage*) dragImageForRows: (NSArray*)dragRows event: (NSEvent*)dragEvent dragImageOffset: (NSPoint*)dragImageOffset;
Availability: OpenStep
Description forthcoming.

### dragImageForRowsWithIndexes: tableColumns: event: offset:

- (NSImage*) dragImageForRowsWithIndexes: (NSIndexSet*)rows tableColumns: (NSArray*)cols event: (NSEvent*)event offset: (NSPoint*)offset;
Availability: MacOS-X 10.4.0
Description forthcoming.

### drawBackgroundInClipRect:

- (void) drawBackgroundInClipRect: (NSRect)clipRect;
Availability: MacOS-X 10.3.0
Description forthcoming.

### drawGridInClipRect:

- (void) drawGridInClipRect: (NSRect)aRect;
Availability: OpenStep
Description forthcoming.

### drawRow: clipRect:

- (void) drawRow: (NSInteger)rowIndex clipRect: (NSRect)clipRect;
Availability: OpenStep
Description forthcoming.

### drawsGrid

- (BOOL) drawsGrid;
Availability: OpenStep
Description forthcoming.

### editColumn: row: withEvent: select:

- (void) editColumn: (NSInteger)columnIndex row: (NSInteger)rowIndex withEvent: (NSEvent*)theEvent select: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### editedColumn

- (NSInteger) editedColumn;
Availability: OpenStep
Description forthcoming.

### editedRow

- (NSInteger) editedRow;
Availability: OpenStep
Description forthcoming.

### endUpdates

- (void) endUpdates;
Availability: MacOS-X 10.7.0
Description forthcoming.

### frameOfCellAtColumn: row:

- (NSRect) frameOfCellAtColumn: (NSInteger)columnIndex row: (NSInteger)rowIndex;
Availability: OpenStep
Description forthcoming.

### gridColor

- (NSColor*) gridColor;
Availability: OpenStep
Description forthcoming.

### gridStyleMask

- (NSTableViewGridLineStyle) gridStyleMask;
Availability: MacOS-X 10.3.0
Description forthcoming.

### headerView

- (NSTableHeaderView*) headerView;
Availability: OpenStep
Description forthcoming.

### highlightSelectionInClipRect:

- (void) highlightSelectionInClipRect: (NSRect)clipRect;
Availability: OpenStep
Description forthcoming.

### highlightedTableColumn

- (NSTableColumn*) highlightedTableColumn;
Availability: OpenStep
Description forthcoming.

### indicatorImageInTableColumn:

- (NSImage*) indicatorImageInTableColumn: (NSTableColumn*)aTableColumn;
Availability: OpenStep
Description forthcoming.

### insertRowsAtIndexes: withAnimation:

- (void) insertRowsAtIndexes: (NSIndexSet*)indexes withAnimation: (NSTableViewAnimationOptions)animationOptions;
Availability: MacOS-X 10.7.0
Description forthcoming.

### intercellSpacing

- (NSSize) intercellSpacing;
Availability: OpenStep
Description forthcoming.

### isColumnSelected:

- (BOOL) isColumnSelected: (NSInteger)columnIndex;
Availability: OpenStep
Description forthcoming.

### isRowSelected:

- (BOOL) isRowSelected: (NSInteger)rowIndex;
Availability: OpenStep
Description forthcoming.

### moveColumn: toColumn:

- (void) moveColumn: (NSInteger)columnIndex toColumn: (NSInteger)newIndex;
Availability: OpenStep
Description forthcoming.

### noteHeightOfRowsWithIndexesChanged:

- (void) noteHeightOfRowsWithIndexesChanged: (NSIndexSet*)indexes;
Availability: MacOS-X 10.4.0
Description forthcoming.

### noteNumberOfRowsChanged

- (void) noteNumberOfRowsChanged;
Availability: OpenStep
Description forthcoming.

### numberOfColumns

- (NSInteger) numberOfColumns;
Availability: OpenStep
Description forthcoming.

### numberOfRows

- (NSInteger) numberOfRows;
Availability: OpenStep
Description forthcoming.

### numberOfSelectedColumns

- (NSInteger) numberOfSelectedColumns;
Availability: OpenStep
Description forthcoming.

### numberOfSelectedRows

- (NSInteger) numberOfSelectedRows;
Availability: OpenStep
Description forthcoming.

### preparedCellAtColumn: row:

- (NSCell*) preparedCellAtColumn: (NSInteger)columnIndex row: (NSInteger)rowIndex;
Availability: MacOS-X 10.5.0
Description forthcoming.

### rectOfColumn:

- (NSRect) rectOfColumn: (NSInteger)columnIndex;
Availability: OpenStep
Description forthcoming.

### rectOfRow:

- (NSRect) rectOfRow: (NSInteger)rowIndex;
Availability: OpenStep
Description forthcoming.

### reloadData

- (void) reloadData;
Availability: OpenStep
Description forthcoming.

### reloadDataForRowIndexes: columnIndexes:

- (void) reloadDataForRowIndexes: (NSIndexSet*)rowIndexes columnIndexes: (NSIndexSet*)columnIndexes;
Availability: MacOS-X 10.6.0
Description forthcoming.

### removeRowsAtIndexes: withAnimation:

- (void) removeRowsAtIndexes: (NSIndexSet*)indexes withAnimation: (NSTableViewAnimationOptions)animationOptions;
Availability: MacOS-X 10.7.0
Description forthcoming.

### removeTableColumn:

- (void) removeTableColumn: (NSTableColumn*)aColumn;
Availability: OpenStep
Description forthcoming.

### rowAtPoint:

- (NSInteger) rowAtPoint: (NSPoint)aPoint;
Availability: OpenStep
Description forthcoming.

### rowForView:

- (NSInteger) rowForView: (NSView*)view;
Availability: MacOS-X 10.7.0
Description forthcoming.

### rowHeight

- (CGFloat) rowHeight;
Availability: OpenStep
Description forthcoming.

### rowsInRect:

- (NSRange) rowsInRect: (NSRect)aRect;
Availability: OpenStep
Description forthcoming.

### scrollColumnToVisible:

- (void) scrollColumnToVisible: (NSInteger)columnIndex;
Availability: OpenStep
Description forthcoming.

### scrollRowToVisible:

- (void) scrollRowToVisible: (NSInteger)rowIndex;
Availability: OpenStep
Description forthcoming.

### selectAll:

- (void) selectAll: (id)sender;
Availability: OpenStep
Description forthcoming.

### selectColumn: byExtendingSelection:

- (void) selectColumn: (NSInteger)columnIndex byExtendingSelection: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### selectColumnIndexes: byExtendingSelection:

- (void) selectColumnIndexes: (NSIndexSet*)indexes byExtendingSelection: (BOOL)extend;
Availability: OpenStep
Description forthcoming.

### selectRow: byExtendingSelection:

- (void) selectRow: (NSInteger)rowIndex byExtendingSelection: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### selectRowIndexes: byExtendingSelection:

- (void) selectRowIndexes: (NSIndexSet*)indexes byExtendingSelection: (BOOL)extend;
Availability: OpenStep
Description forthcoming.

### selectedColumn

- (NSInteger) selectedColumn;
Availability: OpenStep
Description forthcoming.

### selectedColumnEnumerator

- (NSEnumerator*) selectedColumnEnumerator;
Availability: OpenStep
Description forthcoming.

### selectedColumnIndexes

- (NSIndexSet*) selectedColumnIndexes;
Availability: OpenStep
Description forthcoming.

### selectedRow

- (NSInteger) selectedRow;
Availability: OpenStep
Description forthcoming.

### selectedRowEnumerator

- (NSEnumerator*) selectedRowEnumerator;
Availability: OpenStep
Description forthcoming.

### selectedRowIndexes

- (NSIndexSet*) selectedRowIndexes;
Availability: OpenStep
Description forthcoming.

### setAllowsColumnReordering:

- (void) setAllowsColumnReordering: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### setAllowsColumnResizing:

- (void) setAllowsColumnResizing: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### setAllowsColumnSelection:

- (void) setAllowsColumnSelection: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### setAllowsEmptySelection:

- (void) setAllowsEmptySelection: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### setAllowsMultipleSelection:

- (void) setAllowsMultipleSelection: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### setAutoresizesAllColumnsToFit:

- (void) setAutoresizesAllColumnsToFit: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### setAutosaveName:

- (void) setAutosaveName: (NSString*)name;
Availability: OpenStep
Description forthcoming.

### setAutosaveTableColumns:

- (void) setAutosaveTableColumns: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### setBackgroundColor:

- (void) setBackgroundColor: (NSColor*)aColor;
Availability: OpenStep
Description forthcoming.

### setColumnAutoresizingStyle:

- (void) setColumnAutoresizingStyle: (NSTableViewColumnAutoresizingStyle)style;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setCornerView:

- (void) setCornerView: (NSView*)aView;
Availability: OpenStep
Description forthcoming.

### setDataSource:

- (void) setDataSource: (id)anObject;
Availability: OpenStep
Description forthcoming.

### setDelegate:

- (void) setDelegate: (id)anObject;
Availability: OpenStep
Description forthcoming.

### setDoubleAction:

- (void) setDoubleAction: (SEL)aSelector;
Availability: OpenStep
Description forthcoming.

### setDraggingSourceOperationMask: forLocal:

- (void) setDraggingSourceOperationMask: (NSDragOperation)mask forLocal: (BOOL)isLocal;
Availability: MacOS-X 10.4.0
Description forthcoming.

### setDrawsGrid:

- (void) setDrawsGrid: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### setDropRow: dropOperation:

- (void) setDropRow: (NSInteger)row dropOperation: (NSTableViewDropOperation)operation;
Availability: OpenStep
Description forthcoming.

### setGridColor:

- (void) setGridColor: (NSColor*)aColor;
Availability: OpenStep
Description forthcoming.

### setGridStyleMask:

- (void) setGridStyleMask: (NSTableViewGridLineStyle)gridType;
Availability: MacOS-X 10.3.0
Description forthcoming.

### setHeaderView:

- (void) setHeaderView: (NSTableHeaderView*)aHeaderView;
Availability: OpenStep
Description forthcoming.

### setHighlightedTableColumn:

- (void) setHighlightedTableColumn: (NSTableColumn*)aTableColumn;
Availability: OpenStep
Description forthcoming.

### setIndicatorImage: inTableColumn:

- (void) setIndicatorImage: (NSImage*)anImage inTableColumn: (NSTableColumn*)aTableColumn;
Availability: OpenStep
Description forthcoming.

### setIntercellSpacing:

- (void) setIntercellSpacing: (NSSize)aSize;
Availability: OpenStep
Description forthcoming.

### setRowHeight:

- (void) setRowHeight: (CGFloat)rowHeight;
Availability: OpenStep
Description forthcoming.

### setSortDescriptors:

- (void) setSortDescriptors: (NSArray*)sortDescriptors;
Availability: MacOS-X 10.3.0
Sets the sort descriptors used to sort the rows and delegates the sorting to -tableView:didChangeSortDescriptors or -outlineView:didChangeSortDescriptors: in NSOutlineView. The delegate methods can retrieve the new sort descriptors with -sortDescriptors and override them with -setSortDescriptors: .
The first object in the new sort descriptor array is the sort descriptor prototype returned by the table column whose header was the last clicked. See -[NSTableColumn sortDescriptorPrototype]. This method is called automatically when you click on a table column header, so you shouldn't need to call it usually. Take note the sort descriptors are encoded by the keyed archiving (rarely used since neither IB or Gorm support to set these directly).

### setUsesAlternatingRowBackgroundColors:

- (void) setUsesAlternatingRowBackgroundColors: (BOOL)useAlternatingRowColors;
Availability: MacOS-X 10.3.0
Description forthcoming.

### setVerticalMotionCanBeginDrag:

- (void) setVerticalMotionCanBeginDrag: (BOOL)flag;
Availability: OpenStep
Description forthcoming.

### sizeLastColumnToFit

- (void) sizeLastColumnToFit;
Availability: OpenStep
Description forthcoming.

### sortDescriptors

- (NSArray*) sortDescriptors;
Availability: MacOS-X 10.3.0
Returns the current sort descriptors, usually updated every time a click happens on a table column header. By default, returns an empty array. For a more detailed explanation, -setSortDescriptors: .

### tableColumnWithIdentifier:

- (NSTableColumn*) tableColumnWithIdentifier: (id)anObject;
Availability: OpenStep
Description forthcoming.

### tableColumns

- (NSArray*) tableColumns;
Availability: OpenStep
Description forthcoming.

### textDidBeginEditing:

- (void) textDidBeginEditing: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.

### textDidChange:

- (void) textDidChange: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.

### textDidEndEditing:

- (void) textDidEndEditing: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.

### textShouldBeginEditing:

- (BOOL) textShouldBeginEditing: (NSText*)textObject;
Availability: OpenStep
Description forthcoming.

### textShouldEndEditing:

- (BOOL) textShouldEndEditing: (NSText*)textObject;
Availability: OpenStep
Description forthcoming.

### tile

- (void) tile;
Availability: OpenStep
Description forthcoming.

### usesAlternatingRowBackgroundColors

- (BOOL) usesAlternatingRowBackgroundColors;
Availability: MacOS-X 10.3.0
Description forthcoming.

### verticalMotionCanBeginDrag

- (BOOL) verticalMotionCanBeginDrag;
Availability: OpenStep
Description forthcoming.

## Instance Variables for NSTableView Class

### _action

@protected SEL _action;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _allowsColumnReordering

@protected BOOL _allowsColumnReordering;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _allowsColumnResizing

@protected BOOL _allowsColumnResizing;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _allowsColumnSelection

@protected BOOL _allowsColumnSelection;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _allowsEmptySelection

@protected BOOL _allowsEmptySelection;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _allowsMultipleSelection

@protected BOOL _allowsMultipleSelection;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _autoresizesAllColumnsToFit

@protected BOOL _autoresizesAllColumnsToFit;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _autosaveName

@protected NSString* _autosaveName;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _autosaveTableColumns

@protected BOOL _autosaveTableColumns;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _backgroundColor

@protected NSColor* _backgroundColor;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _beginEndUpdates

@protected NSInteger _beginEndUpdates;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _clickedColumn

@protected int _clickedColumn;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _clickedRow

@protected int _clickedRow;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _columnOrigins

@protected float* _columnOrigins;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _cornerView

@protected NSView* _cornerView;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _dataSource

@protected id _dataSource;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _dataSource_editable

@protected BOOL _dataSource_editable;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _del_responds

@protected BOOL _del_responds;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _delegate

@protected id _delegate;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _doubleAction

@protected SEL _doubleAction;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _draggingSourceOperationMaskForLocal

@protected NSDragOperation _draggingSourceOperationMaskForLocal;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _draggingSourceOperationMaskForRemote

@protected NSDragOperation _draggingSourceOperationMaskForRemote;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _drawsGrid

@protected BOOL _drawsGrid;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _editedCell

@protected NSCell* _editedCell;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _editedColumn

@protected int _editedColumn;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _editedRow

@protected int _editedRow;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _gridColor

@protected NSColor* _gridColor;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _headerView

@protected NSTableHeaderView* _headerView;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _highlightedTableColumn

@protected NSTableColumn* _highlightedTableColumn;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _intercellSpacing

@protected NSSize _intercellSpacing;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _isValidating

@protected BOOL _isValidating;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _numberOfColumns

@protected int _numberOfColumns;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _numberOfRows

@protected int _numberOfRows;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _rowHeight

@protected CGFloat _rowHeight;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _selectedColumn

@protected int _selectedColumn;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _selectedColumns

@protected NSMutableIndexSet* _selectedColumns;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _selectedRow

@protected int _selectedRow;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _selectedRows

@protected NSMutableIndexSet* _selectedRows;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _selectingColumns

@protected BOOL _selectingColumns;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _sortDescriptors

@protected NSArray* _sortDescriptors;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _superview_width

@protected float _superview_width;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _tableColumns

@protected NSMutableArray* _tableColumns;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _target

@protected id _target;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _textObject

@protected NSText* _textObject;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _tilingDisabled

@protected BOOL _tilingDisabled;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _verticalMotionDrag

@protected BOOL _verticalMotionDrag;
Availability: OpenStep
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

# Software documentation for the NSObject(NSTableDataSource) informal protocol

## NSObject(NSTableDataSource)

> Declared in:
>   AppKit/NSTableView.h

Availability: OpenStep
Description forthcoming.
Method summary

- -numberOfRowsInTableView:
- -tableView:acceptDrop:row:dropOperation:
- -tableView:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:
- -tableView:objectValueForTableColumn:row:
- -tableView:setObjectValue:forTableColumn:row:
- -tableView:sortDescriptorsDidChange:
- -tableView:validateDrop:proposedRow:proposedDropOperation:
- -tableView:writeRows:toPasteboard:
- -tableView:writeRowsWithIndexes:toPasteboard:

### numberOfRowsInTableView:

- (NSInteger) numberOfRowsInTableView: (NSTableView*)aTableView;
Availability: OpenStep
Returns the number of records that the data source manages for aTableView.

### tableView: acceptDrop: row: dropOperation:

- (BOOL) tableView: (NSTableView*)tableView acceptDrop: (id)info row: (NSInteger)row dropOperation: (NSTableViewDropOperation)operation;
Availability: OpenStep
Description forthcoming.

### tableView: namesOfPromisedFilesDroppedAtDestination: forDraggedRowsWithIndexes:

- (NSArray*) tableView: (NSTableView*)aTableView namesOfPromisedFilesDroppedAtDestination: (NSURL*)dropDestination forDraggedRowsWithIndexes: (NSIndexSet*)indexSet;
Availability: MacOS-X 10.4.0
Description forthcoming.

### tableView: objectValueForTableColumn: row:

- (id) tableView: (NSTableView*)aTableView objectValueForTableColumn: (NSTableColumn*)aTableColumn row: (NSInteger)rowIndex;
Availability: OpenStep
Description forthcoming.

### tableView: setObjectValue: forTableColumn: row:

- (void) tableView: (NSTableView*)aTableView setObjectValue: (id)anObject forTableColumn: (NSTableColumn*)aTableColumn row: (NSInteger)rowIndex;
Availability: OpenStep
Description forthcoming.

### tableView: sortDescriptorsDidChange:

- (void) tableView: (NSTableView*)tableView sortDescriptorsDidChange: (NSArray*)oldSortDescriptors;
Availability: MacOS-X 10.3.0
Description forthcoming.

### tableView: validateDrop: proposedRow: proposedDropOperation:

- (NSDragOperation) tableView: (NSTableView*)tableView validateDrop: (id)info proposedRow: (NSInteger)row proposedDropOperation: (NSTableViewDropOperation)operation;
Availability: OpenStep
Description forthcoming.

### tableView: writeRows: toPasteboard:

- (BOOL) tableView: (NSTableView*)tableView writeRows: (NSArray*)rows toPasteboard: (NSPasteboard*)pboard;
Availability: OpenStep
Description forthcoming.

### tableView: writeRowsWithIndexes: toPasteboard:

- (BOOL) tableView: (NSTableView*)tableView writeRowsWithIndexes: (NSIndexSet*)rows toPasteboard: (NSPasteboard*)pboard;
Availability: MacOS-X 10.4.0
Description forthcoming.

# Software documentation for the NSObject(NSTableViewDelegate) informal protocol

## NSObject(NSTableViewDelegate)

> Declared in:
>   AppKit/NSTableView.h

Availability: OpenStep
Description forthcoming.
Method summary

- -selectionShouldChangeInTableView:
- -tableView:dataCellForTableColumn:row:
- -tableView:didClickTableColumn:
- -tableView:didDragTableColumn:
- -tableView:heightOfRow:
- -tableView:mouseDownInHeaderOfTableColumn:
- -tableView:shouldEditTableColumn:row:
- -tableView:shouldSelectRow:
- -tableView:shouldSelectTableColumn:
- -tableView:toolTipForCell:rect:tableColumn:row:mouseLocation:
- -tableView:willDisplayCell:forTableColumn:row:
- -tableViewColumnDidMove:
- -tableViewColumnDidResize:
- -tableViewSelectionDidChange:
- -tableViewSelectionIsChanging:

### selectionShouldChangeInTableView:

- (BOOL) selectionShouldChangeInTableView: (NSTableView*)aTableView;
Availability: OpenStep
Description forthcoming.

### tableView: dataCellForTableColumn: row:

- (NSCell*) tableView: (NSTableView*)aTableView dataCellForTableColumn: (NSTableColumn*)aTableColumn row: (NSInteger)rowIndex;
Availability: MacOS-X 10.5.0
Description forthcoming.

### tableView: didClickTableColumn:

- (void) tableView: (NSTableView*)tableView didClickTableColumn: (NSTableColumn*)tableColumn;
Availability: MacOS-X 10.3.0
Description forthcoming.

### tableView: didDragTableColumn:

- (void) tableView: (NSTableView*)tableView didDragTableColumn: (NSTableColumn*)tableColumn;
Availability: MacOS-X 10.3.0
Description forthcoming.

### tableView: heightOfRow:

- (CGFloat) tableView: (NSTableView*)tableView heightOfRow: (NSInteger)row;
Availability: MacOS-X 10.4.0
Description forthcoming.

### tableView: mouseDownInHeaderOfTableColumn:

- (void) tableView: (NSTableView*)tableView mouseDownInHeaderOfTableColumn: (NSTableColumn*)tableColumn;
Availability: MacOS-X 10.3.0
Description forthcoming.

### tableView: shouldEditTableColumn: row:

- (BOOL) tableView: (NSTableView*)aTableView shouldEditTableColumn: (NSTableColumn*)aTableColumn row: (NSInteger)rowIndex;
Availability: OpenStep
Description forthcoming.

### tableView: shouldSelectRow:

- (BOOL) tableView: (NSTableView*)aTableView shouldSelectRow: (NSInteger)rowIndex;
Availability: OpenStep
Description forthcoming.

### tableView: shouldSelectTableColumn:

- (BOOL) tableView: (NSTableView*)aTableView shouldSelectTableColumn: (NSTableColumn*)aTableColumn;
Availability: OpenStep
Description forthcoming.

### tableView: toolTipForCell: rect: tableColumn: row: mouseLocation:

- (NSString*) tableView: (NSTableView*)tableView toolTipForCell: (NSCell*)cell rect: (NSRect*)rect tableColumn: (NSTableColumn*)col row: (NSInteger)row mouseLocation: (NSPoint)mouse;
Availability: MacOS-X 10.4.0
Description forthcoming.

### tableView: willDisplayCell: forTableColumn: row:

- (void) tableView: (NSTableView*)aTableView willDisplayCell: (id)aCell forTableColumn: (NSTableColumn*)aTableColumn row: (NSInteger)rowIndex;
Availability: OpenStep
Description forthcoming.

### tableViewColumnDidMove:

- (void) tableViewColumnDidMove: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.

### tableViewColumnDidResize:

- (void) tableViewColumnDidResize: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.

### tableViewSelectionDidChange:

- (void) tableViewSelectionDidChange: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.

### tableViewSelectionIsChanging:

- (void) tableViewSelectionIsChanging: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.

# Software documentation for the NSTableView(GNUPrivate) category

## NSTableView(GNUPrivate)

> Declared in:
>   AppKit/NSTableView.h

Availability: OpenStep
Description forthcoming.
Method summary

- -_selectColumn:modifiers:
- -_sendDoubleActionForColumn:

### _selectColumn: modifiers:

- (void) _selectColumn: (NSInteger)columnIndex modifiers: (unsigned int)modifiers;
Availability: OpenStep
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

### _sendDoubleActionForColumn:

- (void) _sendDoubleActionForColumn: (NSInteger)columnIndex;
Availability: OpenStep
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.

# Software documentation for the NSTableViewDataSource protocol

## NSTableViewDataSource

> Declared in:
>   AppKit/NSTableView.h

Availability: OpenStep
Description forthcoming.

# Software documentation for the NSTableViewDelegate protocol

## NSTableViewDelegate

> Declared in:
>   AppKit/NSTableView.h

> Conforms to:
>   NSObject

Availability: OpenStep
Description forthcoming.
Up