I am trying to get a gridpanel inside a tabpanel to display with proper height. The tab in question is maincontentpanel3
. Right now, the width does 100%, but the height seems to go until the panel is filled, way past the bottom of the page.
Scroll bars do not appear, even if autoscroll is set to auto. If I give GridPanel1
a height, everything works properly except for (obviously) the height.
Here is the stripped down code:
<ext:Viewport runat="server" Layout="FitLayout">
<Items>
<ext:Panel runat="server" ID="maincontentpanelwrapper" >
<Items>
<ext:TabPanel ID="maincontentpanel" runat="server" Layout="FitLayout">
<Items>
<ext:Panel runat="server" ID="maincontentpanel1" >
</ext:Panel>
<ext:Panel runat="server" ID="maincontentpanel2" >
</ext:Panel>
<ext:Panel runat="server" ID="maincontentpanel3" >
<Items>
<ext:GridPanel ID="GridPanel1" AutoScroll="true" runat="server" >
<Store>
[REMOVED]
</Store>
<ColumnModel>
<Columns>
[REMOVED]
</Columns>
</ColumnModel>
</ext:GridPanel>
</Items>
</ext:Panel>
</Items>
</ext:TabPanel>
</Items>
</ext:Panel>
</Items>
</ext:Viewport>
Here is an image of what is happening in the bottom right corner (no scroll bars, clearly overflowing)
Thank you for your help!