Drag and drop between trees - how to know the source?


I have a question about drag’n’drop between trees - is there a way letting the target node know the id of the source’s tree? The only idea I had was to do this using the nodes’ type…

Actually the both onDrag and onDrop event handlers provides info about source and target trees

for onDrag and onDrop - 4th and 5th parameters - objects of source and target tree

by knowing tree object you can get the container ID as