Docs
CodeRabbit
Cloudflare
Railway
SerpAPI
Netlify
WorkOS
Clerk
AG Grid
OpenRouter
Sentry
Prisma
Unkey
Electric
CodeRabbit
Cloudflare
Railway
SerpAPI
Netlify
WorkOS
Clerk
AG Grid
OpenRouter
Sentry
Prisma
Unkey
Electric
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_getGroupedRowModel

Function: table_getGroupedRowModel()

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

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

Resolves the row model after grouping has produced grouped and aggregated rows.

When manualGrouping is enabled, or no grouped row-model factory was registered, this returns the pre-grouped row model unchanged.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

RowModel<TFeatures, TData>

Example

ts
const groupedRows = table_getGroupedRowModel(table)
const groupedRows = table_getGroupedRowModel(table)