Hi,
I have hierarchical row structure as follows
upper level - Type
Middle level - EventDate, Faculty
Lower Level - Source, Weight, Before, After
Now, if Type = "A", I want "Faculty" field to be visible, if Type = "B", it should be invisible. How can I change visibility of field on an inner row based on the outer rows value?
Hello,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking through your post and I created a sample project for you where I implemented the functionality you want. Basically I created two FieldLayouts and set their Key Property. Then I handled the AssignFieldLayoutToItem event of the XamDataGrid and depending on the ParentRecord’s Cell’s Value I assigned different FieldLayout.
Feel free to write me if you have further questions.