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

table_getRowsInDisplayOrder

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

Defined in: core/rows/coreRowsFeature.utils.ts:32

Returns the rows in the current display order after assigning their zero-based display indexes.

When expanded rows bypass pagination, expanded descendants are inserted into the returned order even though they are absent from the pre-pagination row model.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

Row<TFeatures, TData>[]