Check documentation for the
latest version of dhtmlxSuite
enableDragAndDrop DHTMLX Docs
Samples
Forum
Support
Documentation
/
Suite 5.X
addItem
attachEvent
checkItem
clearAll
closeItem
deleteChildItems
deleteItem
detachEvent
disableCheckbox
enableCheckbox
enableCheckboxes
enableContextMenu
enableDragAndDrop
enableMultiselect
getAllChecked
getAllUnchecked
getItemText
getLevel
getParentId
getSelectedId
getSubItems
getUserData
hideCheckbox
isCheckboxEnabled
isCheckboxVisible
isItemChecked
loadStruct
openItem
refreshItem
selectItem
setIconColor
setIconset
setItemIcons
setItemText
setSizes
setSkin
setUserData
showCheckbox
showItem
silent
uncheckItem
unload
unselectItem
Start
TreeView
dhtmlXTreeView API
Methods
enableDragAndDrop
enables drag-n-drop in TreeView
void
enableDragAndDrop
(
boolean
mode
);
mode
boolean
true/false to enable/disable drag-n-drop
Example
myTreeView.
enableDragAndDrop
(
true
)
;
Back to top