No Horizontal Scroll bar in GridPanel

  1. #1

    No Horizontal Scroll bar in GridPanel

    I don't know why there is no scroll bar in the gridpanel. I already set the autoscroll = true.

        <ext:Viewport ID="Viewport1" runat="server" Layout="BorderLayout" AutoScroll="true">
            <Items>
                <ext:TabPanel 
                    ID="TabPanel1" 
                    runat="server" 
                    ActiveTabIndex="0" 
                    Width="600" 
                    AutoHeight="true"
                    Region="Center">
                    <Items>
                        <ext:Panel ID="Panel_RunTests" 
                                runat="server" 
                                Title="Run Test"
                                Frame="true"
                                AutoHeight="true"
                                AutoScroll="true"
                                >
                                <Items>
                                    <ext:GridPanel 
                                        ID="GridPanel_Tests" 
                                        runat="server"
                                        Title="Tests to Run"
                                        AutoHeight = "true"
                                        AutoScroll="true"
                                        Width="1200"
                                        Collapsed="false"
                                        Collapsible="true">
                                        <Store>
                                            <ext:Store ID="Store_TestsRun" runat="server">
                                                <Reader>
                                                    <ext:JsonReader>
                                                        <Fields>
                                                            <ext:RecordField Name="Run_Number" />
                                                            <ext:RecordField Name="Client"/>
                                                            <ext:RecordField Name="SDE_Platform" />
                                                            <ext:RecordField Name="SDE_Instance" />
                                                            <ext:RecordField Name="SDE_Database"/>
                                                            <ext:RecordField Name="SDE_Version" />
                                                            <ext:RecordField Name="SDE_Keyword"/>
                                                            <ext:RecordField Name="SDE_User"/>
                                                            <ext:RecordField Name="SDE_Password"/>
                                                            <ext:RecordField Name="SDE_TestRun"/>
                                                            <ext:RecordField Name="SDE_User2"/>
                                                            <ext:RecordField Name="SDE_Password2"/>
                                                            <ext:RecordField Name="SDE_User3"/>
                                                            <ext:RecordField Name="SDE_Password3"/>
                                                            <ext:RecordField Name="SDE_OSPlatform"/>
                                                            <ext:RecordField Name="SDE_DBMS"/>
                                                            <ext:RecordField Name="SDE_Release"/>
                                                            <ext:RecordField Name="Email"/>
                                                        </Fields>
                                                    </ext:JsonReader>
                                                </Reader>
                                            </ext:Store>
                                        </Store>
                                        <ColumnModel>
                                            <Columns>
                                                <ext:Column DataIndex="Run_Number" Header="ID" />
                                                <ext:Column DataIndex="Client" Header="Client" >
                                                </ext:Column>
                                                <ext:Column DataIndex="SDE_Platform" Header="SDE Platform" >
                                                </ext:Column>
                                                <ext:Column DataIndex="SDE_Instance" Header="Instance" />
                                                <ext:Column DataIndex="SDE_Database" Header="Database" />
                                                <ext:Column DataIndex="SDE_Version" Header="Version" />
                                                <ext:Column DataIndex="SDE_Keyword" Header="Keyword" />
                                                <ext:Column DataIndex="SDE_User" Header="User" />
                                                <ext:Column DataIndex="SDE_Password" Header="Password" />
                                                <ext:Column DataIndex="SDE_TestRun" Header="Test" />
                                                <ext:Column DataIndex="SDE_User2" Header="User2" />
                                                <ext:Column DataIndex="SDE_Password2" Header="Password2" />
                                                <ext:Column DataIndex="SDE_User3" Header="User3" />
                                                <ext:Column DataIndex="SDE_Password3" Header="Password3" />
                                                <ext:Column DataIndex="SDE_OSPlatform" Header="OS Platform" />
                                                <ext:Column DataIndex="SDE_DBMS" Header="DBMS" />
                                                <ext:Column DataIndex="SDE_Release" Header="SDE Release" />
                                                <ext:Column DataIndex="Email" Header="Email" />
                                            </Columns>
                                        </ColumnModel>
                                    </ext:GridPanel>
                                </Items>
                        </ext:Panel>
                    </Items>
                </ext:TabPanel>
            </Items>
        </ext:Viewport>
    Click image for larger version. 

Name:	scroll.JPG 
Views:	78 
Size:	33.6 KB 
ID:	4445


    Thanks very much for your help!
  2. #2
    Hi,

    At the first glance the scrollbar should appear in your sample.

    Please provide a full sample with some dummy data to allow us to just copy, paste and run the sample.
  3. #3
    Hi Daniil,

    Thanks for your reply.

    I just solved the problem. No autoheight for scroll bar would work.



    Quote Originally Posted by Daniil View Post
    Hi,

    At the first glance the scrollbar should appear in your sample.

    Please provide a full sample with some dummy data to allow us to just copy, paste and run the sample.

Similar Threads

  1. Replies: 14
    Last Post: May 22, 2012, 6:29 PM
  2. Replies: 2
    Last Post: Aug 18, 2011, 3:11 PM
  3. MenuPanel - Horizontal Scroll
    By rsaldanhabr in forum 1.x Help
    Replies: 1
    Last Post: Aug 05, 2011, 3:45 PM
  4. [CLOSED] Impossible to show horizontal scroll in gridpanel
    By jeybonnet in forum 1.x Premium Help
    Replies: 12
    Last Post: Jul 20, 2011, 12:31 PM
  5. Listview horizontal scroll bar
    By wh0urdady in forum 1.x Help
    Replies: 1
    Last Post: Jun 23, 2010, 11:41 PM

Posting Permissions