how move sub nodes together with a node

two ideas:


both works but both have a problem with history. a undo only restore the original selection not the extended selection

other ideas?



2 Replies

AR Aravind Ravi Syncfusion Team April 22, 2020 12:55 PM UTC

Hi André, 
 
We are validating your requirements and update you with more details on April 24th 2020. 
 
Regards 
Aravind Ravi 



AR Aravind Ravi Syncfusion Team April 24, 2020 12:51 PM UTC

Hi Andre 
 
In the sample when you changed the node you have changed all its child nodes position manually. At this time property change does not get a trigger and does not have an entry in undo and redo an action. Only the root node entry gets added in undo an action. So that when you do undo operation root node only restore its original position all child nodes do not move back. In the sample, while move child nodes you can add the changes in history manually. On undo, the nodes get to restore their position. Please find below UG for how to add history entry manually. 
 
 
Regards 
Aravind Ravi 


Loader.
Up arrow icon