DHTMLX Docs & Samples Explorer

setDragBehavior(mode,select)

Required library edition: This method requires Professional Edition of the DHTMLX library
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