Drag and drop between tree

Hi,
when I move a node between two trees by dragging the selection, I have two behavior options: move and copy. Is it possible to parameterize the system so that having a third possibility in which neither happens? In other words, I would like to know if it is possible to avoid automatically inserting the node in the target tree.

tks in advance

Emilio

You may try to use the beforeDrop event to block the drop process returning “false”:

tree2.events.on("beforeDrop",function(target_id,source_obj){
  return false
})

https://snippet.dhtmlx.com/eh4ks4fp