row_getVisibleCellsByColumnId

Function: row_getVisibleCellsByColumnId()

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

Defined in: features/column-visibility/columnVisibilityFeature.utils.ts:191

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

Hidden columns are omitted from the map.

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 visibleCellsById = row_getVisibleCellsByColumnId(row)