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

row_getIsGrouped

Function: row_getIsGrouped()

ts
function row_getIsGrouped<TFeatures, TData>(row): boolean;
function row_getIsGrouped<TFeatures, TData>(row): boolean;

Defined in: features/column-grouping/columnGroupingFeature.utils.ts:250

Checks whether this row was created as a grouped row.

Grouped rows carry a groupingColumnId; ordinary leaf rows do not.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

row

Row_Core<TFeatures, TData> & UnionToIntersection< | "columnFilteringFeature" extends keyof TFeatures ? Row_ColumnFiltering<TFeatures, TData> : never | "columnGroupingFeature" extends keyof TFeatures ? Row_ColumnGrouping : never | "columnPinningFeature" extends keyof TFeatures ? Row_ColumnPinning<TFeatures, TData> : never | "columnVisibilityFeature" extends keyof TFeatures ? Row_ColumnVisibility<TFeatures, TData> : never | "rowExpandingFeature" extends keyof TFeatures ? Row_RowExpanding : never | "rowPinningFeature" extends keyof TFeatures ? Row_RowPinning : never | "rowSelectionFeature" extends keyof TFeatures ? Row_RowSelection : never> & UnionToIntersection<{ [K in string | number | symbol]: K extends "coreReativityFeature" ? never : TFeatures[K] extends TableFeature<FeatureConstructorOptions> ? "Row" extends keyof FeatureConstructorOptions ? FeatureConstructorOptions[keyof FeatureConstructorOptions & "Row"] : never : any }[keyof TFeatures]> & Row_Plugins<TFeatures, TData> & Partial<Row_ColumnGrouping>

Returns

boolean

Example

ts
const isGrouped = row_getIsGrouped(row)
const isGrouped = row_getIsGrouped(row)