There is a functionality in dhtmlxTree which provides you temporary disabling drag-and-drop. You can apply it for both child and sibling drop modes.
drop as child
|
drop as sibling
|
Enable Drag and Drop
Disable Drag and Drop
|
Enable Drag and Drop
Disable Drag and Drop
|