Categories | Question details Back To List | ||
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. Answer posted by Support on Nov 25, 2008 03:16 Hello, Could you please provide some code? Answer posted by Vincent Millet on Nov 25, 2008 03:39 In your example: http://dhtmlx.com/docs/products/dhtmlxAccordion/samples/components/grid.html?un=1227612918000 dhxAccord.cells('a1').undock(); dhxAccord.cells('a1').win.setDimension(600,400); Answer posted by Support on Nov 25, 2008 08:35 Right, here is quick fix: dhtmlxwindows.js: win.setDimension = function(width, height) { .... // add last line that._fixInnerObjs(this); } Answer posted by Vincent Millet on Nov 26, 2008 01:42 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. Answer posted by Support on Nov 26, 2008 02:56 Yes, please. |