Disable Relation in GridGroupControl?

Hi, I have a GGC bounded to a dataset which contains a DataRelation. However, when the grid is displayed, I don''t want to see that relation showing up on my GGC. How can we do that?

2 Replies

AD Administrator Syncfusion Team April 11, 2006 11:29 AM UTC

Hi Kai, The Relation from the TableDescriptor can be removed to avoid the relation being shown in the GridGroupingControl. Below is a code snippet. this.gridGroupingControl1.TableDescriptor.Relations.Remove(this.gridGroupingControl1.TableDescriptor.Relations[relationName]); Regards, Calvin.


KA Kai April 12, 2006 03:27 AM UTC

Work as expected. Thanks. >Hi Kai, > >The Relation from the TableDescriptor can be removed to avoid the relation being shown in the GridGroupingControl. Below is a code snippet. > >this.gridGroupingControl1.TableDescriptor.Relations.Remove(this.gridGroupingControl1.TableDescriptor.Relations[relationName]); > >Regards, >Calvin.

Loader.
Up arrow icon