If you do not want to see the nested tables, then one way to do this would be the call this.gridGroupingControl.TableDescriptor.Relations.Clear. Then when you want to see them again, add the relations back. Here is a button handler that either shows or hides nested tables each time you click it.
private void button1_Click(object sender, System.EventArgs e)
{
if(saveRelations == null)
{
saveRelations = new ArrayList();
foreach(GridRelationDescriptor rd in this.gridGroupingControl1.TableDescriptor.Relations)
saveRelations.Add(rd);
this.gridGroupingControl1.TableDescriptor.Relations.Clear();
}
else
{
foreach(GridRelationDescriptor rd in saveRelations)
this.gridGroupingControl1.TableDescriptor.Relations.Add(rd);
saveRelations.Clear();
saveRelations = null;
}
}