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_getPaginatedRowModel

Function: table_getPaginatedRowModel()

ts
function table_getPaginatedRowModel<TFeatures, TData>(table): RowModel<TFeatures, TData>;
function table_getPaginatedRowModel<TFeatures, TData>(table): RowModel<TFeatures, TData>;

Defined in: core/row-models/coreRowModelsFeature.utils.ts:240

Resolves the row model after pagination has sliced rows for the current page.

When manualPagination is enabled, or no paginated row-model factory was registered, this returns the pre-paginated row model because pagination is expected to happen before data reaches the table.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

RowModel<TFeatures, TData>

Example

ts
const pageRows = table_getPaginatedRowModel(table)
const pageRows = table_getPaginatedRowModel(table)