AD
Administrator
Syncfusion Team
June 30, 2004 03:41 PM UTC
I should have been more specific, I was referring to the GridGroupingControl.
AD
Administrator
Syncfusion Team
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