undock

undocks content from layout cell to the window

void undock(number x,number y,number width,number height);

Parameters

xnumberoptional, window x-position
ynumberoptional, window y-position
widthnumberoptional, window width
heightnumberoptional, window height

Example

myLayout.cells(id).undock();
// or
myLayout.cells(id).undock(10, 10, 320, 200);

Details

Note, to use the method you need to have dhtmlxWindows's source files included on the page.

Change log

params: x, y, width, height - added in version 4.0

Back to top