table_getPaginatedRowModel

Function: table_getPaginatedRowModel()

ts
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)