BM
Bharath M
Syncfusion Team
October 1, 2010 11:59 AM UTC
Hi Pavan,
Thank you for your interest in Syncfusion products.
We can get the summary value of a GridGroupinControl, by using the function “Table.GetSummaries()”. And using this function we can get the summary value in a variable for all GridGroupingControl in pages. Please refer the below code snippet to get the value of summary type “Int32Aggregate”:
[CS]
int grid1SumValue = (this.GridGroupingControl1.Table.GetSummaries()[0] as Syncfusion.Grouping.Int32AggregateSummary).Sum;
int grid2SumValue = (this.GridGroupingControl2.Table.GetSummaries()[0] as Syncfusion.Grouping.Int32AggregateSummary).Sum;
// For DoubleAggregate summary type, please cast with “Syncfusion.Grouping.DoubleAggregateSummary” class.
Let me know if you have any concerns.
Regards,
Bharath M