SfDatagrid GridSummaryColumn
throws ArgumentNullException when the SfDatagrid have no rows to show.
XAML:
<syncfusion:SfDataGrid.TableSummaryRows>
<syncfusion:GridTableSummaryRow Title="Total : {ItemCount}" ShowSummaryInRow="True">
<syncfusion:GridSummaryRow.SummaryColumns>
<syncfusion:GridSummaryColumn
Name="ItemCount"
Format="'{Count:d}'"
MappingName="ID"
SummaryType="CountAggregate" />
</syncfusion:GridSummaryRow.SummaryColumns>
</syncfusion:GridTableSummaryRow>
</syncfusion:SfDataGrid.TableSummaryRows>