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

table_getCenterRows

Function: table_getCenterRows()

ts
function table_getCenterRows<TFeatures, TData>(table): Row<TFeatures, TData>[];
function table_getCenterRows<TFeatures, TData>(table): Row<TFeatures, TData>[];

Defined in: features/row-pinning/rowPinningFeature.utils.ts:188

Resolves rows that are not pinned to top or bottom.

The current row model is filtered by state.rowPinning.top and state.rowPinning.bottom.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

Row<TFeatures, TData>[]

Example

ts
const rows = table_getCenterRows(table)
const rows = table_getCenterRows(table)