Greetings! pls help me to interchange data’s (already binded) between two nodes. I mean if i select 2 nodes and press a button called change data, it has to inter change both nodes datas.
pls help me to to this.
Thanks and Regards,
Syed Abdul Rahim
Start a transaction.
Remember the properties that you want to keep of one Node.data.
Copy the properties that you want from the second Node.data to the first one by calling Model.set on each property.
Copy the saved properties of the first node data object to the second node data object.
Commit the transaction.