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.
Syncfusion Feedback

How to reset the ggc to bind to a new but similar datasource

Thread ID:

Created:

Updated:

Platform:

Replies:

53730 Dec 19,2006 03:36 PM UTC Dec 20,2006 12:51 PM UTC WinForms 1
loading
Tags: Grouping
James Blibo
Asked On December 19, 2006 03:36 PM UTC

I have a ggc that is bound to a datasource. The ggc can have anywhere from 1 to 5 summary rows at the top based on a selection in the previous tab. My issue is when I bind the ggc for the first time, everything is OK, but when I cange the datasource, the old summaries rows are still showing.

I have tries this...

this.gridGroupingControl1.TableDescriptor.ResetSummaries();
this.gridGroupingControl1.TableDescriptor.ResetVisibleColumns();
this.gridGroupingControl1.TableDescriptor.ResetSummaryRows();
this.gridGroupingControl1.TableDescriptor.ResetExpressionFields();


... with no luck

Administrator [Syncfusion]
Replied On December 20, 2006 12:51 PM UTC

Hi James,

Thank you for being patience.

Please try calling the ResetTableDescriptor method. The following is the demo sample using your gridsettings. Kindly try it and let us know if you need any further assistance.

Sample : GGC_AddingColumns_20Dec06.zip

Have a nice day.

Best regards,
Madhan

CONFIRMATION

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.

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

;