React Data GridColumn Group Reference

Attributes and methods available on the ColumnGroup and ProvidedColumnGroup instances.

ColumnGroup

getColGroupDef
Function
Returns the column group definition for this column. The column group definition will be the result of merging the application provided column group definition with any provided defaults (e.g. defaultColGroupDef grid option.
getGroupId
Function
Returns the group column id.
getProvidedColumnGroup
Function
Returns the provided column group
getChildren
Function
Returns the children of this group if they exist or null
getDisplayedChildren
Function
Returns the displayed children of this group.
getLeafColumns
Function
Returns the leaf columns of this group.
getDisplayedLeafColumns
Function
Returns the displayed leaf columns of this group.
isResizable
Function
Returns true if this group is resizable.
isExpandable
Function
Returns true if this column group is expandable.
isExpanded
Function
Returns true if this column group is expanded.
isPadding
Function
Returns true if this column group is a padding group that is used to correctly align column groups / children.
getPaddingLevel
Function
Returns the padding level of this padding group.
isColumn
false
isColumn is always false. Used to distinguish between columns and column groups.

ProvidedColumnGroup

getOriginalParent
Function
Returns the parent column group, if this column is part of a column group.
getLevel
Function
Returns the level of this group.
isPadding
Function
Returns true if this column group is a padding group that is used to correctly align column groups / children.
isExpandable
Function
Returns true if this column group is expandable.
isExpanded
Function
Returns true if this column group is expanded.
getGroupId
Function
Returns the group column id.
getChildren
Function
Returns the children of this group.
getColGroupDef
Function
Returns the column group definition for this column. The column group definition will be the result of merging the application provided column group definition with any provided defaults (e.g. defaultColGroupDef grid option.
getLeafColumns
Function
Returns the leaf columns of this group.
isColumn
false
isColumn is always false. Used to distinguish between columns and column groups.