column_getIsGrouped

Function: column_getIsGrouped()

ts
function column_getIsGrouped<TFeatures, TData, TValue>(column): boolean;

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

Checks whether this column id is present in state.grouping.

The result only reflects grouping state, not whether the grouped row model has been calculated yet.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends unknown = unknown

Parameters

column

Column_Internal\<`TFeatures`, `TData`, `TValue`\>

Returns

boolean

Example

ts
const isGrouped = column_getIsGrouped(column)