Constructordojox.grid.data.DojoData

dojo.require("dojox.grid._data.model");
defined in dojox/grid/_data/model.js

This store subclasses the Dynamic grid data object in order to provide paginated data access support, notification and view updates for stores which support those features, and simple field/column mapping for all dojo.data stores.

Usage

function (inFields, inData, args) (view source)
parametertypedescription
inFields  
inData  
args  

Jump to PropertiesFunctionsBack to top

FunctionbadIndex(inCaller, inDescriptor)
FunctionbeginModifyRow(inRowIndex)
FunctionbeginReturn(inCount)
FunctioncopyRow(inRowIndex)
FunctiondatumChange(value, rowIdx, colIdx)
FunctionendModifyRow(inRowIndex)
FunctiongenerateComparator(inCompare, inField, inTrueForAscend, inSubCompare)
FunctiongetDatum(inRowIndex, inColIndex)
Functioninsert(item, index)
FunctionisGoodIndex(inRowIndex, inColIndex)
FunctionisRowLoaded(inRowIndex)
FunctionmarkupFactory(args, node)
FunctionneedPage(inPageIndex)
Functionnotify(inMsg, inArgs)
FunctionnotObserver(inObserver)
FunctionpageToRow(inPageIndex)
FunctionpreparePage(inRowIndex, inColIndex)
FunctionprocessError(error, request)
Hook function to trap error messages from the store and emit them. Intended for connecting to and handling the error object or at least reporting it.
FunctionprocessRows(items, request)
Function to cause the model to re-query the store and rebuild the current viewport.
Functionremove(inRowIndexes)
Function to remove a set of items from the store based on the row index.
FunctionremovePages(inRowIndexes)
FunctionrequestPage(inPageIndex)
FunctionrequestRows(inRowIndex, inCount)
stub. Fill in to perform actual data row fetching logic. The returning logic must provide the data back to the system via setRow
FunctionrowsProvided(inRowIndex, inCount)
FunctionrowToPage(inRowIndex)
FunctionsetData(inData)
FunctionsetDatum(inDatum, inRowIndex, inColIndex)
FunctionsetRow(inData, inRowIndex)
FunctionsetRows(inData, inRowIndex)
Functionswap(inIndexA, inIndexB)
Function_attrCompare(cache, data)
Function_createRow(item)
Function_getRowId(item, isNotItem: Boolean)
Function determine the row index for a particular item
Function_insert(inData, inRowIndex)
Function_insertItem(storeItem, index)
Function_remove(inKeys)
Function_removeItems(inRowIndexes: Array)
Function to remove a set of items from the store based on the row index.
Function_setRowId(item, offset, idx)
Function_setupFields(dataItem)
Function_storeDatumChange(item, attr, oldVal, newVal)

Jump to FunctionsPropertiesBack to top