Accordion undock + setDimension doesn't resize grid

Hi,



I undock a cell from my accordion and use setDimension but the grid attached is not resized.

How can I refresh the content of the window?



If I minimize/maximize or park/unpark I get the grid resized but I think there is a better way.

Hello,

Could you please provide some code?

In your example:

dhtmlx.com/docs/products/dhtmlxA … 7612918000

dhxAccord.cells(‘a1’).undock();
dhxAccord.cells(‘a1’).win.setDimension(600,400);

Right, here is quick fix:

dhtmlxwindows.js:

win.setDimension = function(width, height) {
    …
    // add last line
    that._fixInnerObjs(this);
}

Thanks it works but I use a layout attached to the window too and it is resized too large, I can resize the layout panels but I can’t collapse/expand them.
I can make an animation to show you if you need.

Yes, please.