DHTMLX Docs & Samples Explorer

enableDragAndDrop(mode,rmode)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxtree.js

enable/disable drag-and-drop

  • mode - enabled/disabled [ can be true/false/temporary_disabled - last value mean that tree can be D-n-D can be switched to true later ]
  • rmode - enabled/disabled drag and drop on super root