Example of Grouping in Blazor DataGrid Component

DataGrid / Grouping / Grouping

This sample demonstrates grouping feature of the DataGrid component. In this sample, the DataGrid data is grouped against Customer ID column. To group any other column, simply drag and drop the column header onto the group drop area.

Customer ID
1 of 6 pages (70 items)

The Blazor DataGrid control provides the ability to group records based on the required column. When grouping is used, grouped records are organised into a hierarchical structure to allow for easier record expansion and collapsing. Set the AllowGrouping property to true to enable grouping.

The DataGrid in this demo is rendered with grouping enabled and is initially grouped by the Customer ID column. Columns can be grouped by dragging and dropping the column header onto the group drop area.

More information about the Grouping feature can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE