CellIndex
Cell location information model
Signature:
export interface CellIndex Remarks
[onCurrentChanging](/refs/Class/GridB ase#oncurrentchanging) etc. It is mainly used in various callbacks and cell location related methods of GridBase.
You only need to use the information you need.
Example
gridView.setCurrent({ itemIndex: 1, column: 'By administrative district' });Properties
| Property | Type | Description |
|---|---|---|
| cellType | GridCellType | Type of focused cell |
| column | string | GridColumn | column name |
| dataRow | number | Unique row number |
| fieldIndex | number | Field order |
| fieldName | string | field name |
| itemIndex | number | Order on the grid |
| subType | GridCellType | Subtype of the focused cell |
| summaryIndex | number | Index of the summary if the focused cell is footer/headerSummary |
Properties desc
cellType
Type of focused cell
Type - GridCellType
column
column name
Type - string | GridColumn
dataRow
Unique row number
Type - number
fieldIndex
field order
Type - number
fieldName
field name
Type - string
itemIndex
Order on the grid
Type - number
subType
Subtype of the focused cell
Type - GridCellType
summaryIndex
Index of the summary when the focused cell is footer/headerSummary
Type - number