MAGridProxyDataSource

Description

The MAGridProxyDataSource class is used to work with a grid proxy data source.

Inheritance Hierarchy

          NSObject

          MAGridProxyDataSource

Supported Protocols

<NSObject>

<NuGridDataSource>

<NuGridProxyDataSource>

<NuGridUpdateObserver>

Properties

collapsedExpandersAtStartup. Array of coordinates of collapsed grid expanders.

dataSource. Grid data source.

gridDelegate. Grid delegate.

gridSelection. Grid cell selection area.

gridViewZoomScale. Data view scale as a grid.

maxCellWidth. Maximum cell width.

ready. Indicates whether a proxy data source is ready.

sparklinesOn. Indicates whether sparkline grids are displayed.

Methods

adaptCellsSizeInGridView:forWidth:. Determines grid cell size.

beginSettingTransaction. Starts transaction for changing settings.

beginSilentSettingTransaction. Starts transaction for changing settings without sending notifications.

clearGridSelection. Removes grid cell selection area.

endSettingTransaction. Ends transaction for changing settings.

endSilentSettingTransaction. Ends transaction for changing settings without sending notifications.

fixHeight:forRowWithKey:. Fixes the specified row height.

fixWidth:forColumnWithKey:. Fixes the specified column width.

getRowDataWithoutTotals:. Returns row data without totals.

gridView:indentForHeaderForColumn:number:. Returns cell indent in a header column.

gridView:indentForHeaderForRow:number:. Returns cell indent in a header row.

gridView:removeColumn:headerLevel:. Removes dimension data in the specified grid column.

gridView:removeRow:headerLevel:. Removes dimension data in the specified grid row.

gridView:sortByColumnNumber:ascending:. Sets up data sorting by grid columns.

gridView:sortByRowNumber:ascending:. Sets up data sorting by grid rows.

gridViewClearSort:. Resets grid data sorting settings.

isHeightFixedForRowWithKey:. Check if row height is fixed.

isWidthFixedForColumnWithKey:. Check if column width is fixed.

loadState:. Loads proxy data source state.

saveState. Saves proxy data source state.

setSelectionWithRows:columns:. Sets grid cell selection area.

updateSync. Executes synchronous update.

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.

Methods inherited from <NuGridProxyDataSource>

dataSource. Returns data source.

gridView:collapseColumn:. Collapses the specified column.

gridView:collapseRow:. Collapses the specified row.

gridView:columnIndexByNumber:. Gets column index by its number.

gridView:columnNumberByIndex:. Returns column number by its index.

gridView:expandColumn:. Expands the specified column.

gridView:expandRow:. Expands the specified row.

gridView:getStyleForCellInRow:column:. Returns style of the specified cell.

gridView:getStyleForColumn:. Returns style of the specified column.

gridView:getStyleForHeaderForColumn:. Returns style for the header column.

gridView:getStyleForHeaderForRow:. Returns style for the header row.

gridView:getStyleForRow:. Returns style of the specified row.

gridView:indexForFixedColumnWithIndex:. Returns index of the specified fixed column.

gridView:indexForFixedRowWithIndex:. Returns index of the specified fixed row.

gridView:isColumnWithIndexFixed:. Returns whether the specified column is fixed.

gridView:isRowWithIndexFixed:. Returns whether the specified row is fixed.

gridView:rowIndexByNumber:. Returns row index by its number.

gridView:rowNumberByIndex:. Returns row number by its index.

gridView:setDefaultStyle:. Sets default style.

gridView:setDefaultStyleForColumnHeader:. Sets default style for the header column.

gridView:setDefaultStyleForRowHeader:. Sets default style for the header row.

gridView:setStyle:forCellInRow:column:. Sets default style for the specified cell.

gridView:setStyle:forColumn:. Sets default style for the specified column.

gridView:setStyle:forHeaderForColumn:. Sets default style for header of the specified column.

gridView:setStyle:forHeaderForRow:. Sets default style for header of the specified row.

gridView:setStyle:forRow:. Sets default style for the specified row.

gridView:setTheme:. Sets selected formatting theme for the table.

gridViewFixedColumnCount:. Returns the number of fixed columns.

gridViewFixedRowCount:. Returns the number of fixed rows.

gridViewGetDefaultStyle:. Returns default style.

gridViewGetDefaultStyleForColumnHeader:. Returns default style for the header column.

gridViewGetDefaultStyleForRowHeader:. Returns default style for the header row.

gridViewTheme:. Returns formatting theme for the specified table.

setDataSource:. Sets the specified data source.

Methods inherited from <NuGridUpdateObserver>

afterUpdate. Called after an update.

beforeUpdate. Called before an update.

See also:

Classes. The Mobile Application Component