Hi
I have a XamDataGrid which uses Hirearchical Binding, I want to expand the parent and show the Child grid when the parent record is selected. I dont want to display +/- button, instead I want to expand the parent row when it is selected. I want it to be done only through XAML and not in Code behind as we are using strict MVVM pattern.
Please help me with this requirement
thanks
Hello Eldin,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
THanks a lot. Provided example solved my query !!!!
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hello,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I used interactions to handle the SelectedItemsChanged event and expand the selected Record’s child collection if it has one. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.