My dataGrid has a DataTable as data source.
When I add/or delete a row in the dataTable, the table summary that shows the total number of rows does not get updated.
to add row I do:
var row = dt.NewRow();
dt.Rows.Add(row);
To delete row I do:
row.Delete();
Is there a way I can force an update of the summary?
<syncfusion:GridDataControl.TableSummaryRows>
<syncfusion:GridDataSummaryRow Title="Total : {CountSummary} Items"
ShowSummaryInRow="True"
TitleColumnCount="2">
<syncfusion:GridDataSummaryRow.SummaryColumns>
<syncfusion:GridDataSummaryColumn Name="CountSummary"
Format="'{Count:d}'"
MappingName="ROWID"
SummaryType="CountAggregate" />
</syncfusion:GridDataSummaryRow.SummaryColumns>
</syncfusion:GridDataSummaryRow>
</syncfusion:GridDataControl.TableSummaryRows>