Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
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_getVisibleCells

ts
function row_getVisibleCells<TFeatures, TData>(row): Cell<TFeatures, TData, unknown>[];
function row_getVisibleCells<TFeatures, TData>(row): Cell<TFeatures, TData, unknown>[];

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

Collects the cells from this row whose columns are visible.

When column pinning is active, the result is ordered as start-pinned cells, center cells, then end-pinned cells.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row<TFeatures, TData>

Returns

Cell<TFeatures, TData, unknown>[]

Example

ts
const visibleCells = row_getVisibleCells(row)
const visibleCells = row_getVisibleCells(row)