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. Image for the cookie policy date

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

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon