Hello,
I have problems with updating group summary for my DataGrid - when I edit a cell (OrderID in this case) it's not updating group summary. To simplify the problem I used the OrderInfo model from your docs - https://help.syncfusion.com/xamarin/sfdatagrid/getting-started#create-datamodel-for-the-sfdatagrid with added INotifyPropertyChanged. Here is my DataGrid setup:
OrderInfoRepository viewModel = new OrderInfoRepository();
dataGrid.ItemsSource = viewModel.OrderInfoCollection;
dataGrid.GroupColumnDescriptions.Add(new GroupColumnDescription() { ColumnName = "ShipCountry" });
dataGrid.AllowEditing = true;
GridSummaryRow summaryRow = new GridSummaryRow
{
ShowSummaryInRow = true,
Title = "{Key}: {Total}"
};
summaryRow.SummaryColumns.Add(new GridSummaryColumn()
{
Name = "Total",
MappingName = "OrderID",
Format = "{Sum}",
SummaryType = SummaryType.DoubleAggregate
});
dataGrid.CaptionSummaryRow = summaryRow;
dataGrid.GridViewCreated += (object sender, GridViewCreatedEventArgs e) =>
{
dataGrid.View.LiveDataUpdateMode = LiveDataUpdateMode.AllowSummaryUpdate;
};
Did I missed something?