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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Summary Value

Thread ID:





96693 Sep 29,2010 09:02 AM UTC Oct 1,2010 11:59 AM UTC WinForms 1
Tags: GridControl
Narasimha Pavan
Asked On September 29, 2010 09:02 AM UTC


I have a form in there are multiple grid grouping and client side paging grids. For these grids I have used grid summary row to show the summary value of each grid to user. Now I need these summary values to be used in different grid, but I am not able to get the summary value into a variable.
Can you please tell me how to get the summary value of the grid(Clientside and grid grouping) into a variable which can be used in another grid. Thanks in Advance


Bharath M [Syncfusion]
Replied On 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”:


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.

Bharath M


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon