[CLOSED] How do I fix these scrollbars?

  1. #1

    [CLOSED] How do I fix these scrollbars?

    Here's my markup:

    <ext:FitLayout ID="FitLayout1" runat="server">
        <Items>
            <ext:Panel ID="grid" runat="server" Layout="Card" ActiveIndex="0" Border="false">
                <TopBar>
                    <ext:Toolbar ID="Toolbar1" runat="server">
                        <Items>
                            <ext:ToolbarFill ID="ToolbarFill1" runat="server" />
                            <ext:ComboBox ID="ViewBy" runat="server" SelectedIndex="0">
                                <Items>
                                    <ext:ListItem Text="Account" Value="0" />
                                    <ext:ListItem Text="Asset Type" Value="1" />
                                </Items>
                                <Listeners>
                                    <Select Handler="refreshClientHoldingsGrid();" />
                                </Listeners>
                            </ext:ComboBox>
                        </Items>
                    </ext:Toolbar>
                </TopBar>
                <Items>
                    <ext:Panel ID="AccountsPanel" runat="server" Border="false" Layout="Fit">
                        <Items>
                            <ext:TreeGrid ID="AccountsGrid" runat="server" AutoExpandColumn="description" Border="false" AutoScroll="true" NoLeafIcon="true">
                                <Columns>
                                    <ext:TreeGridColumn Header="Decription" Width="150" DataIndex="description" />
                                    <ext:TreeGridColumn Header="Account" Width="100" DataIndex="account" />
                                    <ext:TreeGridColumn Header="Type" Width="150" DataIndex="assettype" />
                                    <ext:TreeGridNumberColumn Header="Unrealized Gain/Loss" Width="125" DataIndex="totalgainloss" Align="Right" SortType="AsFloat">
                                        <XTemplate runat="server">
                                            <Html>
                                                {totalgainloss:usMoney}
                                            </Html>
                                        </XTemplate>
                                    </ext:TreeGridNumberColumn>
                                    <ext:TreeGridNumberColumn Header="Market Value" Width="125" DataIndex="marketvalue" Align="Right" SortType="AsFloat">
                                        <XTemplate ID="XTemplate1" runat="server">
                                            <Html>
                                                {marketvalue:usMoney}
                                            </Html>
                                        </XTemplate>
                                    </ext:TreeGridNumberColumn>
                                    <ext:TreeGridNumberColumn Header="Allocation %" Width="125" DataIndex="allocationpercent" Align="Right" SortType="AsFloat">
                                        <XTemplate runat="server">
                                            <Html>
                                                {allocationpercent} %
                                            </Html>
                                        </XTemplate>
                                    </ext:TreeGridNumberColumn>
                                </Columns>
                            </ext:TreeGrid>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:Panel>
        </Items>
    </ext:FitLayout>
  2. #2

    RE: How do I fix these scrollbars?

    Hi,

    Can you provide test sample which reproduces both scrollbar (just I cannot reproduce it based on your posted code) ?
    Vladimir Shcheglov
    Sr. Developer
  3. #3

    RE: How do I fix these scrollbars?

    Hi,

    I was able to reproduce, investigating...
    Vladimir Shcheglov
    Sr. Developer
  4. #4

    RE: How do I fix these scrollbars?

    Hi,

    Try to remove AutoScroll property from the TreeGrid. It seems that AutoScroll property gives that scrollbar issue (TreeGrid should automaticaly show scrollbars when it is required)
    Vladimir Shcheglov
    Sr. Developer
  5. #5

    RE: How do I fix these scrollbars?

    This appears to have fixed it. Thanks.

Similar Threads

  1. [CLOSED] HtmlEditor Mask with Scrollbars?
    By peter.campbell in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 16, 2012, 2:50 PM
  2. [CLOSED] HTMLEditor and scrollbars
    By krzak in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 28, 2011, 1:15 PM
  3. [CLOSED] AutoHeight gridpanel and scrollbars
    By 78fede78 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 22, 2010, 5:06 PM
  4. [CLOSED] GridPanel vertical scrollbars
    By state in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 14, 2009, 7:07 PM
  5. [CLOSED] GridPanel scrollbars
    By danielg in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: May 21, 2009, 1:01 AM

Posting Permissions