Hi,
I want to have a context menu on the hierarchical XamDataGrid with "Expand All" and "Collapse All" menu items. I want to be able to expand all children of every record when "Expand All" context menu is selected. How can I achieve this.
Thank you
Hello Lala,
Thank you for your reply.
I am very glad, my suggestion was helpful for you.
Please let me know if you need any further assistance on this matter.
Thank you. It worked.
Hello,
I am just checking your progress on the issue that you are having.
If you require any further assistance please do not hesitate to ask.
Hello Lalasa,
Thank you for your post.
I was looking into the question that you have. I created a sample application to show you how you can achieve the functionality that you want. I handle the Click event of XamMenuitem and in it I used foreach loop on SelectedItems of the XamDataGrid. For each item I set the IsExpandet property of item if I want to collapse to false or if I want to expand to true.