GridDataViewDatasource

Description

The GridDataViewDatasource class is used to work with a table data source.

Inheritance Hierarchy

          NSObject

          DataViewDatasource

          GridDataViewDatasource

Supported Protocols

<NSObject>

<NuGridDataSource>

Properties

isEmpty. Indicates whether data source is empty.

sparklineColumnPersistentKey. Persisted key for column with sparklines.

Methods

columnNumberByPersistentKey:. Returns column number by its persisted key.

columnPersistentKeyByNumber:. Returns column persisted key.

gridView:indentForHeaderForColumn:number:. Returns column header indent.

gridView:indentForHeaderForRow:number:. Returns row header indent.

initWithPivotTable:. Creates an instance of the GridDataViewDatasource class.

parentColumnOfColumn:. Returns parent column identifier.

parentRowOfRow:. Returns parent row identifier.

pivot. Returns a pivot object for building data tables.

pivotTable. Returns data table.

pivotTableUpdated. Calls data table update event.

rowNumberByPersistentKey:. Returns row number by its persisted key.

rowPersistentKeyByNumber:. Returns row persisted key.

updateAsync. Executes asynchronous grid data source update.

Methods inherited from DataViewDatasource

addEventObserver:. Subscribes delegate object for data source events.

dataSelectionTitle. Returns text description of data sample.

dataSelectionTitleWithTimeaxisIndex:. Returns text description of data sample for the specified time.

removeEventObserver:. Removes the specified delegate object from the subscriber list for data source events.

removeEventObservers. Removes all subscribers.

sendEvent:. Creates an event and informs all subscribers about it.

updateData. Refreshes view data.

Methods inherited from <NuGridDataSource>

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

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

gridView:cornerCellInRowNumber:inColumnNumber:. Returns table corner.

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

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

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

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

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:

Classes. The Mobile Application Component