The DevExpress ASP.NET Grid View (ASPxGridView) allows you and your end-users to group data against unlimited columns using simple drag and drop operations. In this example, data is grouped by the Country column and sorted in ascending order.
Data grouping is allowed if the following grid properties are set to true:
End-users can group data by dragging column headers to the group panel.
The panel's visibility is controlled by the Settings.ShowGroupPanel option.
Use the GroupCount property to get the number of columns used to group data. These columns can be obtained using the GetGroupedColumns method.
See Also: