Hi,
Is it possible to show a hierarchical data(another grid) on clicking of a row in a igDP:XamDataGrid?
regards
Vivek
Hello Priyanka,
The Field's Names should me equal to the name of your data's Properties, otherwise they won't be applied. Also when the AutoGenerateFields is se to False, you should define all the Fields you want to show, not only the FieldLayouts. When it is set to true, you can define only the Fields that you want to hide or apply any settings to them. If you stull have issues with this I can suggest you sent me an isolated sample project with data structure similar to your original one and tell me which Fields you wan to be visible and which one not and I will be happy to assist you further with this.
Looking forward for your reply.
Hi Stefan,
Unfortunately I have tried this option already but it is not working. Issue is when I am selecting AutoGenerateFields="True" unwanted fields of child list are coming and when I am selecting AutoGenerateFields="False" then child list grid data is not coming. In my case
<igWPF:FieldLayout/> --Parent Layout
<igWPF:FieldLayout> -- Child Layout
<igWPF:Field Name="Isbn" Visibility="Collapsed"/>
</igWPF:FieldLayout>
Parent layout is working but child layout is not working or showing any change(let me know if my understanding is wrong)
Parent list is like
DocumentListModel[0].ClaimDocumentList and child list is like DocumentListModel[0].ClaimDocumentList[0].DocumentList.
Please reply. If you have any query then let me know.
I have created a sample project for you with the functionality you want. Basically I defined two FieldLayouts and in the second one I defined the Field I want to hide (in my case "Isbn"). Please let me know if this helps you or you need further assistance on this matter.
I am facing issue in hierarchical data grid issue. Child data is different from parent data grid. My issue is I want to hide(collapse ) few columns in child grid. Like in HierarchicalGrid if I want to hide author field.
Hello George,
The approach I suggested you works if there are different FieldLayouts for the parent and child records, so I created a sample project for you, which works with self-reference data.
Hope this helps you.