The WinForms DataGrid control provides support to group data based on 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.
Group data for one or more columns using an intuitive user interface called “group drop area” and programmatic grouping.
View the records of each group easily. An intuitive expand icon in group caption provides an easy way to expand or collapse groups. Users can also expand or collapse groups in code behind.
Group data for columns based on the displayed text. Users can view the grouped data with formatted text applied for values.
Customize the appearance of the group drop area to adapt it to the rest of the business application.
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.
View summaries for columns in a group caption. It’s also possible to show a summary of records in a group.