undocks content from accordion cell to the window
x | number | optional, window x-position |
y | number | optional, window y-position |
width | number | optional, window width |
height | number | optional, window height |
var myAcc = new dhtmlXAccordion({
parent: "accObj",
items: [
{id: "a1", text: "Red", open: true},
{id: "a2", text: "Green"},
{id: "a3", text: "Blue"}
]
});
myAcc.cells("a1").undock();
// or
myAcc.cells("a1").undock(10, 10, 320, 200);
params: x, y, width, height - added in version 4.0
Back to top