Example of Grouping in ASP.NET Core Data Grid Control
This sample demonstrates grouping feature of the Grid component. In this sample, the Grid data is grouped against ShipCountry column. To group any other column simply drag the column header and drop on the group drop area.
The Grid control has options to group the records based on the required column. When grouping is applied, grouped records
are organized into a hierarchical structure to facilitate easier expansion and collapse of records. To enable grouping,
set allowGrouping
property as true.
Columns can be grouped by simply dragging the column header and drop on the group drop area.
In this demo, to group a specify column, drag and drop the column in the group drop area.
In this demo, editing options can be enabled by setting editSettings.allowEditing
as true
.
You can start editing by double-clicking a row or the toolbar `Edit` button.
Once in edit mode, you have the ability to modify the values of the selected row.
When saving the record, the Grid will refresh the specific edited row without affecting the expanded group state.