Skip to main content

table_getPreGroupedRowModel

还没翻译译自英文(tanstack.com)本页 15 段都还没译

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

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

Reads the row model immediately before grouping.

Grouping runs after filtering, so this aliases table.getFilteredRowModel().

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

RowModel<TFeatures, TData>

Example

const rowsBeforeGrouping = table_getPreGroupedRowModel(table)