Check documentation for the latest version 6.0 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);

Parameters

modestringbehavior name (child,sibling,complex)
selectbooleanselect the dropped node after drag-n-drop, true by default

Available only in PRO Edition

Back to top