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

How to show the sum of the two column values in the summary?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: September 26, 2016 |
Last Revised Date: September 26, 2016
Tags: summaries

In order to show the sum of the two columns value in the summary, custom summary can be used to customize the summary values. To create the custom summary, you can use the SummaryType.Custom option for summary row descriptor.

 

The custom summary can be created by deriving the SummaryBase class and override the methods of it. For more information about the custom summary, refer this link.

 

 

Code snippet

 

C#

 

VB

 

CustomSummary class customization

 

C#

 

VB

 

 

 

Screenshot

 

Sample Links

C#: Summary_of_Two_Columns

VB: Summary_of_Two_Columns

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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