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
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).
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.