Back to Devexpress

Group Rows in Code

wpf-6369-controls-and-libraries-data-grid-grouping-grouping-in-code.md

latest1.1 KB
Original Source

Group Rows in Code

  • Apr 07, 2022

Grouping

To group data by the values of the specified column at runtime, do one of the following:

Ungrouping

To ungroup data by the values of a single column, do one of the following:

To ungroup the grid, use the GridControl.ClearGrouping method.

Note

The GridViewBase.AllowGrouping property specifies whether an end user can group data. Setting this property to false does not ungroup data.