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

Show the relation field for two tables in a gridgroupingcontrol

Thread ID:

Created:

Updated:

Platform:

Replies:

30297 Jun 15,2005 09:45 AM Jun 15,2005 12:17 PM Windows Forms 3
loading
Tags: GridControl
Julien Goldberg
Asked On June 15, 2005 09:45 AM

Hello. I have two tables in a gridgroupingcontrol, linked by the field "ID". In the child grids, the column "ID" is hidden. There is a property or a way to show it? thank you.

Administrator [Syncfusion]
Replied On June 15, 2005 10:10 AM

Did you try adding the ID column to the child''s VisibleColumns collection? GridTableDescriptor td = groupingGrid.TableDescriptor.Relations["ParentToChild"].ChildTableDescriptor; td.VisibleColumns.Add("ID");

Julien Goldberg
Replied On June 15, 2005 11:19 AM

I''v tried. Seems to do nothing. Thank you >Did you try adding the ID column to the child''s VisibleColumns collection? > > >GridTableDescriptor td = groupingGrid.TableDescriptor.Relations["ParentToChild"].ChildTableDescriptor; >td.VisibleColumns.Add("ID"); >

Administrator [Syncfusion]
Replied On June 15, 2005 12:17 PM

Try adding it back into the Columns collection. This code worked for me. GridTableDescriptor td = gridGroupingControl1.TableDescriptor.Relations["ParentToChild"].ChildTableDescriptor; td.Columns.Add("ID");

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

;