New to Telerik UI for WinUI? Download free 30-day trial


The RadDataGrid control has a built-in Grouping UI and also provides support for programmatic grouping.

Grouping UI

The Grouping UI is enabled by design. You can enable/disable it through the UserGroupMode property. You can also control its position with the GroupPanelPosition property that supports three options: { Left, Bottom, Top }.

Grouping-UI-Dragged Column

Dragging a column header to the Grouping UI adds a PropertyGroupDeascriptor to the GroupDescriptors collection of the RadDataGrid.

The Grouping UI supports the following actions:

  • Reorder: You can reorder the elements in the Grouping UI and thus change the priority of the corresponding group descriptors.
  • Sort: You can sort the group headers in an ascending or descending order by the group key.
  • Remove: You can remove groups.

You can expand/collapse groups by a click/tap on the group header.

You can choose whether the group headers will be frozen or scrollable through the GroupHeaderDisplayMode property.

Programmatic Grouping

Programmatic grouping can be done by adding group descriptors to the GroupDescriptors collection. There are two types of descriptors:

Each GroupDescriptor adds a new level of grouping.

In this article
Not finding the help you need?