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 can summary results on the inner most table be displayed on every parent level in the GridGroupingControl with nested related tables?

Description:

Generally, summary values are displayed in the summary row. To view the summary value of a nested table, you need to expand that table. You can view the summary value of a table without expanding the nested table though the following workaround.

Solution:

The summary results of the nested tables can be obtained by using the GridEngine.GetSummaryText() method. In the following code example, the values are populated in the parent level unbound columns by using the QueryValue event. A hashtable is used to store the values entered in the unbound column as it does not have its own datastore.

C#

VB

The following screenshot displays the summary results:

Figure 1: Summary Results in Parent Level

Sample Links:

NestedSummaryGGC-C#-1379686940.zip

NestedSummaryGGC-VB-834060501.zip

Article ID: Published Date: Last Revised Date: Platform: Control:
656 04/30/2011 03/09/2015 Windows Forms GridGroupingControl
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.