AD
Administrator
Syncfusion Team
August 4, 2004 12:12 PM UTC
Hi Jeremy,
you would have to step into the RelationDescriptors and use the RelationDescriptor.ChildTableDescriptor to get access to the nested table schema.
See following example:
// main table descriptor
GridTableDescriptor td = this.gridGroupingControl1.TableDescriptor;
// nested table descriptor
while (td.Relations.Count > 0)
{
GridTableDescriptor td = td.Relations[0].ChildTableDescriptor;
// hide columns in nested table
td.Columns.Clear();
td.Columns.Add("Description");
}
Stefan
JC
Jeremy Cupit
August 4, 2004 01:12 PM UTC
Thx Stefan that is just the job... ;-)
>Hi Jeremy,
>
>you would have to step into the RelationDescriptors and use the RelationDescriptor.ChildTableDescriptor to get access to the nested table schema.
>
>See following example:
>
>
>
> // main table descriptor
> GridTableDescriptor td = this.gridGroupingControl1.TableDescriptor;
>
> // nested table descriptor
> while (td.Relations.Count > 0)
> {
> GridTableDescriptor td = td.Relations[0].ChildTableDescriptor;
>
> // hide columns in nested table
> td.Columns.Clear();
> td.Columns.Add("Description");
> }
>
>
>
>Stefan
>