NSTableView Class Reference
PDF
Class at a Glance
Overview
Adopted Protocols
Tasks
Setting the Data Source
Loading Data
Target-action Behavior
Configuring Behavior
Setting Display Attributes
Column Management
Selecting Columns and Rows
Table Dimensions
Displaying Cell
Editing Cells
Setting Auxiliary Views
Layout Support
Drawing
Scrolling
Persistence
Selecting in the Tableview
Setting the Delegate
Highlightable Column Headers
Dragging
Sorting
Moving and Resizing Columns
Responding to Mouse Events
Text Delegate Methods
Displaying Tooltips
Deprecated Methods
Instance Methods
addTableColumn:
allowsColumnReordering
allowsColumnResizing
allowsColumnSelection
allowsEmptySelection
allowsMultipleSelection
allowsTypeSelect
autosaveName
autosaveTableColumns
backgroundColor
canDragRowsWithIndexes:atPoint:
clickedColumn
clickedRow
columnAtPoint:
columnAutoresizingStyle
columnIndexesInRect:
columnWithIdentifier:
cornerView
dataSource
delegate
deselectAll:
deselectColumn:
deselectRow:
doubleAction
dragImageForRowsWithIndexes:tableColumns:event:offset:
drawBackgroundInClipRect:
drawGridInClipRect:
drawRow:clipRect:
editColumn:row:withEvent:select:
editedColumn
editedRow
frameOfCellAtColumn:row:
gridColor
gridStyleMask
headerView
highlightedTableColumn
highlightSelectionInClipRect:
indicatorImageInTableColumn:
intercellSpacing
isColumnSelected:
isRowSelected:
moveColumn:toColumn:
noteHeightOfRowsWithIndexesChanged:
noteNumberOfRowsChanged
numberOfColumns
numberOfRows
numberOfSelectedColumns
numberOfSelectedRows
preparedCellAtColumn:row:
rectOfColumn:
rectOfRow:
reloadData
removeTableColumn:
rowAtPoint:
rowHeight
rowsInRect:
scrollColumnToVisible:
scrollRowToVisible:
selectAll:
selectColumnIndexes:byExtendingSelection:
selectedColumn
selectedColumnIndexes
selectedRow
selectedRowIndexes
selectionHighlightStyle
selectRowIndexes:byExtendingSelection:
setAllowsColumnReordering:
setAllowsColumnResizing:
setAllowsColumnSelection:
setAllowsEmptySelection:
setAllowsMultipleSelection:
setAllowsTypeSelect:
setAutosaveName:
setAutosaveTableColumns:
setBackgroundColor:
setColumnAutoresizingStyle:
setCornerView:
setDataSource:
setDelegate:
setDoubleAction:
setDraggingSourceOperationMask:forLocal:
setDropRow:dropOperation:
setGridColor:
setGridStyleMask:
setHeaderView:
setHighlightedTableColumn:
setIndicatorImage:inTableColumn:
setIntercellSpacing:
setRowHeight:
setSelectionHighlightStyle:
setSortDescriptors:
setUsesAlternatingRowBackgroundColors:
setVerticalMotionCanBeginDrag:
sizeLastColumnToFit
sizeToFit
sortDescriptors
tableColumns
tableColumnWithIdentifier:
textDidBeginEditing:
textDidChange:
textDidEndEditing:
textShouldBeginEditing:
textShouldEndEditing:
tile
usesAlternatingRowBackgroundColors
verticalMotionCanBeginDrag
Delegate Methods
selectionShouldChangeInTableView:
tableView:dataCellForTableColumn:row:
tableView:didClickTableColumn:
tableView:didDragTableColumn:
tableView:heightOfRow:
tableView:isGroupRow:
tableView:mouseDownInHeaderOfTableColumn:
tableView:nextTypeSelectMatchFromRow:toRow:forString:
tableView:selectionIndexesForProposedSelection:
tableView:shouldEditTableColumn:row:
tableView:shouldSelectRow:
tableView:shouldSelectTableColumn:
tableView:shouldShowCellExpansionForTableColumn:row:
tableView:shouldTrackCell:forTableColumn:row:
tableView:shouldTypeSelectForEvent:withCurrentSearchString:
tableView:toolTipForCell:rect:tableColumn:row:mouseLocation:
tableView:typeSelectStringForTableColumn:row:
tableView:willDisplayCell:forTableColumn:row:
tableViewColumnDidMove:
tableViewColumnDidResize:
tableViewSelectionDidChange:
tableViewSelectionIsChanging:
Constants
Drop Operations
Grid styles
Autoresizing Styles
Selection Styles
Notifications
NSTableViewColumnDidMoveNotification
NSTableViewColumnDidResizeNotification
NSTableViewSelectionDidChangeNotification
NSTableViewSelectionIsChangingNotification
Appendix A: Deprecated NSTableView Methods
Deprecated in Mac OS X v10.3
drawsGrid
selectColumn:byExtendingSelection:
selectedColumnEnumerator
selectedRowEnumerator
selectRow:byExtendingSelection:
setDrawsGrid:
Deprecated in Mac OS X v10.4 and later
dragImageForRows:event:dragImageOffset:
setAutoresizesAllColumnsToFit:
Deprecated in Mac OS X v10.4
autoresizesAllColumnsToFit
Deprecated in Mac OS X v10.5
columnsInRect:
Revision History
Index
Companion Guides
Table View Programming Guide
Drag and Drop Programming Topics for Cocoa