Type BodyCellVariantFn

Definition

export type BodyCellVariantFn = (cell: CellData, row: FormattedRow, colIndex: number, displayIndex: number) => string | null

Comments

The type of the function used to specify color variants on a grid body on a per-cell level of granularity.

Returns

- a string that is name of the color variant or null for no color variant