JavaScript Data GridRow Grouping - Displaying Grouped Data

Enterprise

Grouping hierarchy can be displayed in the grid in different ways.

Display Types

The row hierarchy can be shown in three different ways, configured by the groupDisplayType grid option:

To configure the display type, set the groupDisplayType property in the grid options to one of "singleColumn", "multipleColumns" or "groupRows" as demonstrated in the following configuration:

const gridOptions = {
    groupDisplayType: 'multipleColumns',

    // other grid options ...
}

While not advised, it is also possible to configure these columns using Custom Group Columns.

Next Up

Continue to the next section to learn about the Single Group Column display type.