maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-506e25dc.md
Gets or sets the template that defines the visual representation of group rows. This is a bindable property.
Namespace : DevExpress.Maui.DataGrid
Assembly : DevExpress.Maui.DataGrid.dll
NuGet Package : DevExpress.Maui.DataGrid
public DataTemplate GroupRowTemplate { get; set; }
| Type | Description |
|---|---|
| DataTemplate |
A template for group rows.
|
When data is grouped, the grid displays group rows to separate groups of data rows. End users can tap group rows to expand and collapse groups.
A group row displays the following elements:
The GroupRowTemplate property allows you to define a custom template that would replace the default visual structure of group rows. You can also specify a separate template for a group row caption (in the default structure, it is shown at the left side of the group row, and includes column caption and data value) and group summary. To do this, use the GridColumn.GroupCaptionTemplate, DataGridView.GroupCaptionTemplate and DataGridView.GroupSummaryTemplate properties. The GroupRowData class specifies the binding context for these templates.
The following featured scenario shows how you can use the GroupRowTemplate property:
Replicate a Single-Column Kanban View
See Also