The 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.
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 captions provides an easier way to expand or collapse groups. Users can also expand or collapse groups in code behind.
Group the data for columns based on displayed text. Users can view the grouped data with the formatted text applied for values.
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.
You can allow users to sort groups based on their summary values. Custom sorting logic can also be provided for your customized operations.
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.