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

row_getCenterVisibleCells

Function: row_getCenterVisibleCells()

ts
function row_getCenterVisibleCells<TFeatures, TData>(row): any[];
function row_getCenterVisibleCells<TFeatures, TData>(row): any[];

Defined in: features/column-pinning/columnPinningFeature.utils.ts:189

Collects visible cells whose columns are not pinned left or right.

The result preserves the row's visible-cell order for center columns.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row<TFeatures, TData>

Returns

any[]

Example

ts
const centerCells = row_getCenterVisibleCells(row)
const centerCells = row_getCenterVisibleCells(row)