PDA

View Full Version : Grid in hidden container won't display correctly



zeromancer1972
18 Nov 2012, 1:31 PM
Hi folks!
My problem: I have several tabs (controlled by Bootstrap Framework), the first is shown when rendering the page ("active"), the other are not. On each tab I've got a Ext.GridPanel but only the one on the visible tab will render correctly, the others will not. These grids have no table headers and the width/height is not set to the container's dimensions. The container is a normal DIV, no Ext.Panel or s.th.
I tried "forceLayout" to true with no results.
One thing: when all tabs are displayed when the grids render, they will show correctly but this is not the way I want it to be.
Any helpful hints or workarounds in store?
Thanks in advance!

Regards from Dresden, Germany :)

zeromancer1972
18 Nov 2012, 3:25 PM
I now noticed, that even a grid.getStore().reload() will not produce a correct result regarding the column headers. For the grid which is visible all went ok, but all the other grids lose their column headers.