Jul 21, 2011, 2:16 AM
Gridpanel doesn't resize properly
I have a ext:ViewPort tag with the attribute Layout="fit". One of its children is a gridpanel as follows:
increase the browser window to full screen, the gripanel resizes correctly but if you then hit the restore system menu button to
restore the browser window to its original size, the gridpanel does not resize properly. It does not contain the proper scrollbars or
resize to fit the gridpanel to the original window even though it had properly resized the grid to the window when it was first rendered.
<ext:ViewPort ID="ApplicationViewPort" runat="server" Layout="fit">
<Items>
<ext:GridPanel
runat="server"
ID="ApplicationsGridPanel"
Title="Applications"
Frame="true"
StoreID="ApplicationsStore"
Height="400"
ClicksToEdit="1"
AutoScroll="true">
<ColumnModel ID="ColumnModel1" runat="server" >
<Columns>
The problem is this: if the browser window of ie8 does not cover the full screen initially, the gripanel sizes properly whithin the vieport. If you thenincrease the browser window to full screen, the gripanel resizes correctly but if you then hit the restore system menu button to
restore the browser window to its original size, the gridpanel does not resize properly. It does not contain the proper scrollbars or
resize to fit the gridpanel to the original window even though it had properly resized the grid to the window when it was first rendered.
Last edited by Daniil; Jul 21, 2011 at 7:37 AM.
Reason: Please use [CODE] tags