We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback


Overview

The WPF DataGrid control provides support to group data against one or more columns. Users can display organized data in a hierarchical structure based on matching column values. They can group the data by dragging the column(s) to the group drop area.


Column grouping

Group data for one or more columns using an intuitive user interface called “group drop area” and programmatic grouping.

WPF DataGrid Grouping with Multiple Columns


Group expand and collapse

View the records of each group easily. An intuitive expand icon in group captions provides an easier way to expand or collapse groups. Users can also expand or collapse groups in code behind.

WPF DataGrid Grouping


Custom grouping

  • Group the data for columns based on custom logic to perform grouping based on business requirements.
  • Sort all the inner records of each group.

WPF DataGrid with Custom Grouping


Display text-based grouping

Group the data for columns based on displayed text. Users can view the grouped data with the formatted text applied for values.

WPF DataGrid Grouping with Custom Header


Freeze group caption row

Users can freeze a group caption (group header) of a group in the view. Then, the group caption will stick in the view until all the records of the group scroll out of view.

WPF DataGrid Freeze Group Header


Summary value-based group sorting

The WPF DataGrid allows you can allow users to sort groups based on their summary values. Custom sorting logic can also be provided for your customized operations.

WPF DataGrid Sort Groups


Style

WPF DataGrid Group Drop Area Style

Group drop area style

The WPF DataGrid allows you to customize the appearance of the group drop area to adapt it to the rest of the business application.

WPF DataGrid Group Caption Row Style

Group caption row style

Customize the appearance of a group caption row easily using a group caption style. You can also customize a group caption row conditionally based on values.


Summary for groups

View summaries for columns in a group caption. It’s also possible to show a summary of records in a group.

WPF DataGrid Group Header Summary


95+ WPF CONTROLS

Scroll up icon