Skip to Content
APIGrid CoreGridCellLocation

GridCellLocation type

Object representing the abstract location of a grid cell.

  • columnKey refers to the ColumnKey.
  • rowId is the GridRowId of the row containing the cell.
Tip

This API reference is automatically generated from the source code  of the @jsoc/grid-core  package.

View Declaration

export type GridCellLocation = { /** * `ColumnKey` which this cell corresponds to. */ columnKey: ColumnKey; /** * Value of `PrimaryColumnKey` column in the row that contains this cell. * Instead of row index, row id is used here as it correctly identifies the row even if the rows are reordered. */ rowId: GridRowId; };

Fields

NameTypeDefault
columnKeystring

ColumnKey which this cell corresponds to.

rowIdGridRowId

Value of PrimaryColumnKey column in the row that contains this cell. Instead of row index, row id is used here as it correctly identifies the row even if the rows are reordered.