gridx
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

gridx.core.Cell

Object » gridx.core.Cell
dojo.require("gridx.core.Cell");
Defined in gridx/core/Cell.js

An instance of this class represents a grid cell. This class should not be directly instantiated by users. It should be returned by grid APIs.

Method Summary

  • constructor(grid, row, column)
  • data() returns String|Number Get the grid data of this cell.
  • rawData() returns anything Get the store data of this cell.
  • setRawData(rawData) returns dojo.Deferred Set new raw data to this cell.

Methods

constructor
ParameterTypeDescription
grid
row
column
data
Returns String|Number: The grid data in this cell

Grid data means the result of the formatter functions (if exist). It can be different from store data (a.k.a. raw data).

rawData
Returns anything: The store data of this cell

If the column of this cell has a store field, then this method can return the store data of this cell.

setRawData
Returns dojo.Deferred: If using server side store, a Deferred object is returned to indicate when the operation is finished.
Set new raw data to this cell.
ParameterTypeDescription
rawDataAnythingthat store can recognize as data