DHTMLX Docs & Samples Explorer

Index
dhtmlxtree
enableDragAndDrop(mode,rmode)

### enableDragAndDrop(mode,rmode)

Required library edition:
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