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.

GGC: Group Level Data

Thread ID:





70959 Jan 9,2008 08:56 PM Jan 16,2008 11:39 PM Windows Forms 2
Tags: Grouping
Patrick Cheng
Asked On January 9, 2008 08:56 PM


I have a GGC which groups a set of securities based on the underlying security. What I want to accomplish is to show some live data of the underlying security in the grouped row. I handle this now by setting summary row and columns and then populating the values through QueryCellStyleInfo event. This is shown in the attached image. However, there are performance issues with this approach since that I populate the values from data stored in a hashtable. When I need to update the cells, it needs to be through the QueryCellStyleInfo event, which I access by calling a Refresh() on the grid.

So my question is, is there a better way to approach this? Or, if there is a way to access the Summary cells programmatically so that I can treat it in the same way as updating other record cells. Your help is much appreciated. Thanks


Patrick Cheng
Replied On January 15, 2008 10:46 PM


Any update on this? Thanks!

Jeba S [Syncfusion]
Replied On January 16, 2008 11:39 PM

Hi Patrick,

Sorry for the delay in responding.

By default, the summaries will be refreshed as you leave the row. But if you want the summaries to be updated as you leave the cell then, you should handle the CurrentRecordContextChange event and you can Invalidate the summary. Below is the code snippets:

private void gridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
if(e.Action == CurrentRecordAction.CurrentFieldChanged)

Please refer the below KB article for more details:

Kindly let us know if you need any further assistance.

Best Regards,


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.

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.