Hi Rajagopal,
That''s exactly what I was looking for. Thanks for your help!
>Hi John,
To iterate through all the nested/related table you can use the below code snippet.
Console.WriteLine( "Related Tables for " + this.gridGroupingControl1.Table.TableDescriptor.Name );
IterateRelatedTable( this.gridGroupingControl1.Table );
void IterateRelatedTable(Table table)
{
foreach(Table tb in table.RelatedTables)
{
Console.WriteLine( tb.TableDescriptor.Name );
if(tb.RelatedTables.Count > 0)
{
Console.WriteLine( "Related Tables for " + tb.TableDescriptor.Name );
IterateRelatedTable(tb);
}
}
}
Also refer to the Knowledge Base(KB) article link below, that helps in iterating through all the elements.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=360
Thanks,
Rajagopal