I am currently using multi Tree model and trying to get the parent node after dragging files from Source Tree. Is there any method avaliable to get the parent node after drag operation?.
I need to send the updated information to server as JSON file
Hi, Kavitha.
What you can use is the igTree `nodeDropeed` event and its arguments. Here is a demo that is using the event and gets parent node information. You can check all the available properties of the `ui` argument. The code that I have added is the following:
nodeDropped: function(evt, ui) { console.log(ui.path); console.log(ui.data); }
I will wait for your feedback. Thank you for using our product!
Best regards,
Nikolay Alipiev
Software Developer
Thank you for the help. ABove provided DEMO url is not working..
In the below diagram I dragged "MY DOCUMENTS" folder from destination to Source tree ."node dropped" event is not retrieving the whole tree(My DOcuments ,Pictures) information its retrieving only Music folder information. Its getting only parent(Music folder) information. I need to save the whole source tree information when any drag operation occured. I have to save the source tree information in the local desk with upto date..