table_getPrePaginatedRowModel

Function: table_getPrePaginatedRowModel()

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

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

Reads the row model immediately before pagination.

Pagination is the final built-in row-model stage, so this aliases table.getExpandedRowModel().

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

RowModel<TFeatures, TData>

Example

ts
const rowsBeforePagination = table_getPrePaginatedRowModel(table)