Docking/Undocking Cells

Each cell of the accordion can be docked or undocked.

What do the "docked/undocked" states mean?

All cells in the accordion are docked by default.

The undocked cells are those cells which were taken out of the accordion and displayed in a separate window. Note, to undock a cell you need to have dhtmlxWindows's source files included on the page.


A docked cell


An undocked cell


To undock a cell, use the undock method:

myAcc.cells(id).undock();

To dock a cell back, use the dock method:

myAcc.cells(id).dock();


When a cell undocked you can operate with the window, for this purpose use:

myAcc.dhxWins.window(id).doSome(...);

The window's id is the same as the cell's id.


Related sample:  Dock / undock cells

Back to top