[CLOSED] Vertical scroll bar issue for treegrid

  1. #1

    [CLOSED] Vertical scroll bar issue for treegrid

    Hi,

    When scrolled vertically, the column headers also scrolls in treegrid. How to fix this issue?


    Thanks
    Anulekha
    Last edited by Daniil; Feb 07, 2012 at 4:56 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Quote Originally Posted by AnulekhaK View Post
    When scrolled vertically, the column headers also scrolls in treegrid.
    Could you clarify what you mean? Maybe, be a screen-shot.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,



    Could you clarify what you mean? Maybe, be a screen-shot.
    Hi Daniil,

    I have attached the actual and expected screenshots.

    Thanks
    Anulekha
    Attached Thumbnails Click image for larger version. 

Name:	Actual.jpg 
Views:	111 
Size:	13.9 KB 
ID:	3792   Click image for larger version. 

Name:	Expected.jpg 
Views:	100 
Size:	20.4 KB 
ID:	3793  
  4. #4
    I don't think it's impossible if you scroll a TreeGrid's container.

    Only internal TreeGrid scrolling allows to see its headers.

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            Ext.Net.TreeNode root = this.TreeGrid1.Root[0] as Ext.Net.TreeNode;
    
            for (int i = 0; i < 50; i++)
            {
                Ext.Net.TreeNode node = new Ext.Net.TreeNode()
                {
                    Text = "Node",
                    CustomAttributes =
                {
                    new ConfigItem("test", "test", ParameterMode.Value)  
                }
                };
                root.Nodes.Add(node);
            }
        }
    </script>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.NET Example</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        <ext:TreeGrid 
            ID="TreeGrid1" 
            runat="server" 
            Width="220" 
            Height="200">
            <Columns>
                <ext:TreeGridColumn Header="Text" DataIndex="text" Width="100" />
                <ext:TreeGridColumn Header="Test" DataIndex="test" Width="100" />
            </Columns>
            <Root>
                <ext:TreeNode />
            </Root>
        </ext:TreeGrid>
    </body>
    </html>

Similar Threads

  1. Replies: 6
    Last Post: Mar 13, 2012, 10:30 AM
  2. Replies: 1
    Last Post: Jul 18, 2011, 8:40 AM
  3. [CLOSED] Two column layout with vertical scroll bar
    By deejayns in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 26, 2011, 10:28 PM
  4. How to make VBoxlayout show vertical scroll bar?
    By firebank in forum 1.x Help
    Replies: 0
    Last Post: May 11, 2011, 5:27 AM
  5. [CLOSED] Vertical Scroll bars for the Accordion Panels
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 20, 2009, 9:06 AM

Posting Permissions