Check documentation for the latest version of dhtmlxSuite enableDND DHTMLX Docs

enableDND

enables drag-n-drop

void enableDND();

Example

var myAcc = new dhtmlXAccordion({
    parent: "accObj",
    multi_mode: true,
    // you can also enable dnd from api-init
    // dnd: true,
    items: [
        { id: "a1", text: "Main Page" },
        { id: "a2", text: "Site Navigation" },
        { id: "a3", text: "Support & Feedback" },
        { id: "a4", text: "Comments" }
    ]
});
 
myAcc.enableDND();

Back to top