Check documentation for the latest version of dhtmlxSuite dock DHTMLX Docs

dock

docks content from the window to accordion cell

void dock();

Example

var myAcc = new dhtmlXAccordion({
    parent: "accObj",
    items: [
        {id: "a1", text: "Red", open: true},
        {id: "a2", text: "Green"},
        {id: "a3", text: "Blue"}
    ]
});
myAcc.cells("a1").dock();

Back to top