Docs
CodeRabbit
Cloudflare
Railway
SerpAPI
Clerk
Netlify
AG Grid
OpenRouter
WorkOS
Prisma
Sentry
Unkey
Electric
CodeRabbit
Cloudflare
Railway
SerpAPI
Clerk
Netlify
AG Grid
OpenRouter
WorkOS
Prisma
Sentry
Unkey
Electric
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Static Functions API Reference
Legacy API Reference

row_getAllCellsByColumnId

Function: row_getAllCellsByColumnId()

ts
function row_getAllCellsByColumnId<TFeatures, TData>(row): Record<string, Cell<TFeatures, TData, unknown>>;
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)
const cellsById = row_getAllCellsByColumnId(row)