<NuGridDataSource>

Description

The <NuGridDataSource> protocol is used to work with table data source.

Inheritance Hierarchy

          <NSObject>

          <NuGridDataSource>

Comments

Header rows (columns headers) in a table are the rows that contain headers for each column.

Header columns (row headers) in a table are the columns that contain headers for each row.

Corner consists of the top left table cells.

Observer is an object that gets messages about data table data source updates.

Methods

addObserver:. Adds an observer to the collection of observers.

gridView:cellInRow:inColumn:. Returns the specified cell.

gridView:cellTypeInRow:column:. Returns cell data type.

gridView:cornerCellInRowNumber:inColumnNumber:. Returns table corner.

gridView:headerForColumn:number:. Returns a cell from the column header area.

gridView:headerForRow:number:. Returns a cell from the row header area.

gridView:parentColumnForColumn:. Returns number of the column, from which expander area starts.

gridView:parentRowForRow:. Returns number of the row, from which expander area starts.

gridView:setValue:forCellInRow:column:. Sets cell value.

gridView:validateValue:forCellInRow:column:. Checks if cell value is correct.

gridView:valueForCellInRow:inColumn:. Returns value of the specified cell.

gridView:valueForCornerCellInRowNumber:inColumnNumber:. Returns value of the specified cell from the grid corner.

gridView:valueForHeaderForColumn:number:. Returns values of the specified cells from column headers.

gridView:valueForHeaderForRow:number:. Returns values of the specified cells from row headers.

gridViewColumnCount:. Returns the number of columns in the table.

gridViewColumnHeaderCount:. Returns the number of header columns.

gridViewHasColumnHeader:. Indicates whether header columns exist.

gridViewHasRowHeader:. Indicates whether header rows exist.

gridViewRowCount:. Returns the number of rows in the specified table.

gridViewRowHeaderCount:. Returns the number of header rows.

registerCellCacheProvider:. Sets table cache provider.

removeObserver:. Removes an observer from the collection of observers.

See also:

Protocols