Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
Data Relation Names
posted

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

  • 27093
    posted

    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.