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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Generic Way of getting Child Tables

Thread ID:

Created:

Updated:

Platform:

Replies:

15931 Jun 30,2004 03:39 PM UTC Jul 1,2004 12:55 PM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On June 30, 2004 03:39 PM UTC

Since all child tables on the same level of hieararchy will have the same set of columns, is there a way to make changes (i.e. width, visibility, etc) to the entire set of child tables on the same hieararchy level? I know you can access child tables from the record parents but is there a more generic way of getting to all of them? I''m thinking of something similar to the concept of bands in the Infragistics grid world. Thanks. - Aleem

Administrator [Syncfusion]
Replied On June 30, 2004 03:41 PM UTC

I should have been more specific, I was referring to the GridGroupingControl.

Administrator [Syncfusion]
Replied On July 1, 2004 12:55 PM UTC

Hi Aleem, yes you can make changes both in the designer and through code. If you open the HierarchyView example in the designer you can change the options for the child table under the TableDescriptors category in the PropertyGrid. If you expand the CustomerOrders property you can then add/remove columns or change appearance setting for that relation. These changes will be serialized into code. To make changes through code for the child relations, you need to access the RelationDescriptor.ChildTableDescriptor. GridTableDescriptor td = groupingGrid.TableDescriptor.Relations[0].ChildTableDescriptor; td.Appearance.AnyCell.BackColor = Color.Blue; Stefan

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

;