Hello Support,
I need to create tree view in my XamDataGrid where I can drag and drop child elements to other sections/elements of the tree view and I can also rename/edit elements of tree.
I have never used both TreeView and DragDrop before.
Can you please provide me a sample to start with? It will really help me.
Thanks in advance!
Priya
Sorry for picking up the thread. We are looking similar functionality with these two additional features in the sample project given in this thread.
1. If the tree nodes span more than one page, when I drag to move up or down, I need the vertical scroll bar to move up or move down automatically
2. When I drop a node on another node, if that node is collapsed, I want that node automatically expand. Because my tree structure to too deep with many parents.
Please let me know if you can provide the sample with these feature.
Thanks in Advance.
Thank you for your feedback Priya. I am glad that this approach helped you.
Hi Maria,
Drag-drop is working fine now.
Thank you for your help.
Regards,
Hello Priya,
I am just checking your progress on the issue.
If you have any other questions on the matter, please feel free to ask.
The TreeView can be displayed in a XamDataGrid’s cell by modifying the default template of the cell for the field where you want the tree to be. I have created another sample for you that shows this approach. I hope it will be helpful for you.