GridPanel Layout

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    GridPanel Layout

    I tried looking in the forums but I haven't found a solution that works

    I have two GridPanels in a Tab panel (one grid in each tab). I cannot get the grid to fit to the container (even if I use Layout="FitLayout"). When I do that, I see the grid with only one row and a scrollbar on the right that is super small.

    If I use Autofit=true, then the grid is expanded and the container has a vertical scroll bar that scrolls the container (so the user cant see the grid header when scrolled to the bottom) and there is no horizontal scrollbar even though the grid is wider than the page.

    Also, the grids are in seperate user controls because they are used in other parts of the project.

    <ext:TabPanel ID="pnlTier1Center" runat="server" Border="false">
      <Items>
      <ext:Portal ID="pnlTier1FCAT" runat="server" Border="false" Title="FCAT Analysis" AutoScroll="true" Layout="BorderLayout">
       <Items>
         <ext:Panel Region="Center" runat="server">
            <Content>
             <uc1:FCATGrid ID="FCATGrid1" runat="server" />
        </Content>
        </ext:Panel>
       </Items>
                                                        
       </ext:Portal>
        <ext:Portal ID="pnlTier1Risk" runat="server" Border="false" Title="Risk Factors" AutoScroll="true" Layout="BorderLayout" >
        <Items>
           <ext:Panel ID="Panel1" Region="Center" runat="server">
                  <Content>
                   <uc6:riskFactors ID="riskFactors1" runat="server" />
                </Content>
         </ext:Panel>
         </Items>                                               
     </ext:Portal>
    .
    .
    .
    <ext:GridPanel ID="GridPanel1" runat="server" Title="" Frame="false" AutoHeight="true">
    Any ideas of what combo of Layout/Region to use to get the grid to fit with the scrollbars?

    Thanks,
    Amit
    Last edited by AmitM; Jun 06, 2011 at 10:13 PM.

Similar Threads

  1. Replies: 15
    Last Post: Sep 19, 2017, 6:15 PM
  2. Vertical layout in GridPanel
    By AlexMaslakov in forum 1.x Help
    Replies: 14
    Last Post: Aug 15, 2011, 7:21 AM
  3. GridPanel layout
    By HexElffilter in forum 1.x Help
    Replies: 3
    Last Post: Jan 31, 2011, 9:02 AM
  4. [CLOSED] GridPanel in Form Layout
    By vedagopal2004 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 09, 2010, 1:44 AM
  5. Gridpanel layout issue in IE8
    By reinout.mechant@imprss.be in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 24, 2009, 1:12 PM

Tags for this Thread

Posting Permissions