Skip to main content

row_getVisibleCellsByColumnId

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

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

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

const visibleCellsById = row_getVisibleCellsByColumnId(row)