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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable Relation in GridGroupControl?

Thread ID:

Created:

Updated:

Platform:

Replies:

42955 Apr 11,2006 07:22 AM UTC Apr 12,2006 03:27 AM UTC WinForms 2
loading
Tags: GridControl
Kai
Asked On April 11, 2006 07:22 AM UTC

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?

Administrator [Syncfusion]
Replied On 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.

Kai
Replied On 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.

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

;