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.

Disable Relation in GridGroupControl?

Thread ID:

Created:

Updated:

Platform:

Replies:

42955 Apr 11,2006 03:22 AM Apr 11,2006 11:27 PM Windows Forms 2
loading
Tags: GridControl
Kai
Asked On April 11, 2006 03:22 AM

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 07:29 AM

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 11, 2006 11:27 PM

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.

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.

;