Check documentation for the latest version of dhtmlxSuite setDragBehavior DHTMLX Docs

setDragBehavior

sets Drag-And-Drop behavior (child - drop as child, sibling - drop as sibling, complex - complex drop behaviour)

void setDragBehavior(string mode,boolean select);
modestringbehavior name (child,sibling,complex)
selectbooleanselect the dropped node after drag-n-drop, true by default

Available only in PRO Edition

Back to top