Returns the content view for a cell.
The table requesting data
The row of the cell to get
The 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 table requesting data
The 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
Optional
widthReturns 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 table requesting data
The row to query
The 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