Group Row Template

 
Country
Company Name City Unit Price Quantity Total
Data grid with 21 rows and 5 columns

The Blazor Grid allows you to specify a template for group rows when grouping is applied. To define group row content and appearance, add the GroupRowTemplate object to the markup. You can use the template's context parameter to access Grid data. This parameter returns a GridDataColumnGroupRowTemplateContext object that allows you to access the Grid and its rich API.

This demo customizes group rows displayed when Blazor Grid data is grouped by the Country column. The group row displays the Country field value and highlights summary values.