We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

SfDataGrid group summary not updating

Thread ID:

Created:

Updated:

Platform:

Replies:

132900 Sep 27,2017 02:55 PM Sep 28,2017 07:57 AM Xamarin.Forms 1
loading
Tags: SfDataGrid
Damian
Asked On September 27, 2017 02:55 PM

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?


Divakar Subramaniam [Syncfusion]
Replied On September 28, 2017 07:57 AM

Hi Damian, 
 
 
We confirm that the issue “Caption summaries are not updated if we edit and commit any values” is a defect. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.   
  
 
 
Regards, 
Divakar. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;