DHTMLX Docs & Samples Explorer

Index
dhtmlxtree
setDragBehavior(mode,select)

### setDragBehavior(mode,select)

Required library edition:
Required library file: dhtmlxtree.js

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

- mode - behavior name (child,sibling,complex)
- select - select droped node after drag-n-drop, true by default