OptionalcolumnReturns whether the specified column is valid for sorting. The
application must implement sorting columns on its own, using sortColumn
on the table view.
The table requesting data
The 0-based column to query
Whether the column can be used for sort order in the table
Returns the content view for a cell.
The table requesting data
The 0-based row of the cell to get
The 0-based column of the cell to get
The view to display in the table; its position will be modified
Returns the number of columns in the table at the specified row. The size of row 0 is used for header sizing.
The table requesting data
The 0-based row being queried
The number of columns in the row
Returns the number of rows in the table.
The table requesting data
The number of rows in the table
OptionaltitleReturns the title for the specified column. If unimplemented, the table will not have a header row.
The table requesting data
The 0-based column to query
The text showed in the header for the column
OptionalwidthReturns the width of a column in a row, overriding the width of the view. If not implemented, the width is determined from the content. The size of row 0 is used for header sizing.
The table requesting data
The 0-based row to query
The 0-based column to query
The width of the column
A table view data source provides the information necessary to construct a
CCTableView. It reports the number of rows and columns in the table, as well as the size of columns and contents of each cell. A default implementation for basic data is available inCCTableViewStaticDataSource.See
CCTableViewStaticDataSource