Drag and Drop behavior

Two drag-n-drop modes are available in dhtmlxTree: drop as child and drop as sibling. To enable either of them you should use the setDragBehavior() method.

drop as child
drop as sibling