@page "/datagrid-group-header-template"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid <strong>DataGrid Group Header Template</strong>
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Use <strong>GroupHeaderTemplate</strong> to customize group header rows.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo the grid is pre-grouped by <strong>Customer</strong> (descending), the <code>GroupHeaderTemplate</code> displays the group key, item count, and last order date, and a tri-state checkbox controls <code>GroupRowRender</code> to expand/collapse all groups at once.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridGroupHeaderTemplate">
    <DataGridGroupHeaderTemplate />
</RadzenExample>
