I am stacked with this problem since 4 days.
I have two treeviews, the data of the first one is retrieved from my database as bellow :
and the second treeview is empty, but i need to drag and drop items on it from the first tree and save in database :
I use the script bellow to get the information from the first tree but the script works just in case if i do drag and drop in the same tree:
Can someone pease help me to get all the information i need to save the dropped items in my database, maybe i am not using the right events or something else.
Thank you for your help.