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.
Unfortunately, activation email could not send to your email. Please try again.

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

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

Article ID: Published Date: Last Revised Date: Platform: Control:
7106 09/26/2016 09/26/2016 Windows Forms GridGroupingControl
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.