RealGrid2 API
Interface
CellIndex

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

PropertyTypeDescription
columnstring | GridColumncolumn name
dataRownumberUnique row number
fieldIndexnumberField order
fieldNamestringfield name
itemIndexnumberOrder on the grid

Properties desc

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