row_getAllCellsByColumnId

Function: row_getAllCellsByColumnId()

ts
function row_getAllCellsByColumnId<TFeatures, TData>(row): Record<string, Cell<TFeatures, TData, unknown>>;

Defined in: core/rows/coreRowsFeature.utils.ts:191

Builds a lookup map of this row's cells keyed by column id.

This is the static implementation behind row.getAllCellsByColumnId().

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row<TFeatures, TData>

Returns

Record<string, Cell<TFeatures, TData, unknown>>

Example

ts
const cellsById = row_getAllCellsByColumnId(row)