dhtmlxTreeView has drag-and-drop functionality. With the help of drag-and-drop it's easy to reorder nodes in the treeview.
// enable dnd during initialization
var myTreeView = new dhtmlXTreeView({
dnd: true
});
// or after initialization
myTreeView.enableDragAndDrop(true);
Related sample: Drag-and-drop - minimal init
Related sample: Drag-and-drop - events
Back to top