5.0
API
Types
CellContext

Definition

type CellContextType = {
  realRowIndex: number;
  realColumnIndex: number;
  rowSpan?: number;
  colSpan?: number;
  containerStyle: React.CSSProperties;
  isFocused: boolean;
};

Properties

NameTypeDescription
realRowIndexnumberNumerical cell's row index representation in relation to the whole grid (including sticky rows).
realColumnIndexnumberNumerical cell's column index representation in relation to the whole grid (including sticky columns).
rowSpannumber (optional)Represents how many rows the cell should occupy.
colSpannumber (optional)Represents how many columns the cell should occupy.
containerStyleReact.CSSPropertiesInternal: provides the cell container's style.
isFocusedbooleanIndicates if the cell is focused.