Overview
The DataGrid control offers comprehensive features for grouping data by one or more columns. Users can effortlessly organize data in a hierarchical structure based on matching column values. The ability to expand or collapse groups can be achieved through user interaction or programmatically. Additionally, the control allows custom grouping logic to suit specific data grouping requirements. When grouping multiple columns, customizable indent columns are automatically generated to visually represent grouping levels.
Column grouping
Programmatically group data by one or more columns using customizable templates. The DataGrid control provides the functionality to display or hide columns when data is grouped.

Group expand and collapse
Easily view the records of each group with a user-friendly interface. The group captions in the DataGrid control features an intuitive expand icon, allowing for effortless expansion or collapse of groups. Users can also programmatically expand or collapse groups directly from the code-behind.

Custom grouping
Group data columns based on custom logic to achieve specific grouping requirements. This allows custom groupings tailored to the user’s need.
Additionally, sort all the inner records within each group to ensure a consistent and organized presentation of data.

Summary for groups
View summaries for columns in a group caption. Users can also show the summary of records in a group.

Indent column customization
The columns to the left of the summary rows when grouping multiple columns are known as indent columns. The number of indent cells in each summary row is determined by the level of the group. DataGrid offers the flexibility to customize the size and background color of the indent column, enhancing its visual appeal. Additionally, in a .NET MAUI DataGrid control, it is possible to further customize the background color of the indent cells based on the type of row.

Our Customers Love Us