Hi Yuazhe,
Thank you for your interest in Syncfusion products.
To achieve the desired behavior, you can place the Refresh() method after invalidate the summary within the “CurrentRecordContextChange” event.
this.gridGroupingControl1.CurrentRecordContextChange += new CurrentRecordContextChangeEventHandler(gridGroupingControl1_CurrentRecordContextChange);
private void gridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
{
if(e.Action == CurrentRecordAction.EndEditComplete)
{
this.gridGroupingControl1.CurrencyManager.EndCurrentEdit();
this.gridGroupingControl1.Table.InvalidateSummary();
this.gridGroupingControl1.Refresh();//refresh after invalidate the summary.
}
}
Please refer the following sample which illustrates the above.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=SummaryUpdate400016194.zipPlease have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample.
Regards,
Christo.