I have nested tables mapped to a xamdatagrid. I have created DataRelations between datatables bound to xamdatagrid.
I would like to know how not to display the datarelation name if no rows are present in the nested datatables.
I have attached a sample snapshot. In the snapshot I would like to disable displaying Sale-Purchase, Purchase-Inventory, Inventory-Sale, Inventory-Inventory
Hello CR,
I have been looking into your requirement and I can suggest you define a FieldLayout like this one:
<igDP:FieldLayout Key="midLevelData"> <igDP:Field Name="Sale-Purchase" IsExpandable="True" Visibility="Collapsed" /> <igDP:Field Name="Purchase-Inventory" IsExpandable="True" Visibility="Collapsed" /> <igDP:Field Name="Inventory-Sale" IsExpandable="True" Visibility="Collapsed" /> <igDP:Field Name="Inventory-Inventory" IsExpandable="True" Visibility="Collapsed" /> </igDP:FieldLayout>
Please let me know, if you require any further assistance on the matter.