This article demonstrates how to set caption summary row height in .NET MAUI DataGrid.
In SfDataGrid, you can customize the height of the CaptionSummaryRow when grouping by handling the QueryRowHeight event. By default, the CaptionSummaryRow uses the height specified in the SfDataGrid.RowHeight property. To override this, check whether the current row is a caption summary row using dataGrid.IsCaptionSummaryRow(index) within the QueryRowHeight event, and assign the appropriate height accordingly.
private void sfdatagrid_QueryRowHeight(object sender, Syncfusion.Maui.DataGrid.DataGridQueryRowHeightEventArgs e)
{
if (sfdatagrid.IsCaptionSummaryRow(e.RowIndex))
{
e.Height = 100;
e.Handled = true;
}
}You can download this example on GitHub.