Hi Paulo,
I regret for the inconvenience caused.
You can handle the TableControlCurrentCellAcceptedChanges event and use the Table.GetSummaries() method to get all updated summaries in a GridTable. Here is a code snippet to show this.
private void gridGroupingControl1_TableControlCurrentCellAcceptedChanges(object sender, GridTableControlCancelEventArgs e)
{
SummaryDescriptorCollection sdc = this.gridGroupingControl1.TableDescriptor.Summaries;
ISummary[] summaries = this.gridGroupingControl1.Table.GetSummaries();
int index = sdc.IndexOf(sdc["Row 0Col2"]);
Int32AggregateSummary summary = summaries[index] as Int32AggregateSummary;
summary = summaries[index] as Int32AggregateSummary;
this.TextBox1.Text = summary.Sum.ToString();
}
Here is a modified sample.
Modifiedsummary2.zipThanks for your patience.
Best Regards,
Haneef