[OPEN] [#349] how to auto expand the tree's root node?

  1. #1

    [OPEN] [#349] how to auto expand the tree's root node?

    according example:https://examples2.ext.net/#/TreePane...Direct_Method/
    I want to auto expand the root node when page is loaded.
    may be when page is loaded, how to trigger the root node click event to make the root node expanded?
    Last edited by Daniil; Sep 24, 2013 at 5:43 AM. Reason: [OPEN] [#349]
  2. #2
    Quote Originally Posted by hdsoso View Post
    according example:https://examples2.ext.net/#/TreePane...Direct_Method/
    I want to auto expand the root node when page is loaded.
    may be when page is loaded, how to trigger the root node click event to make the root node expanded?
     protected void Page_Load(object sender, EventArgs e)
            {
                if (!X.IsAjaxRequest)
                {
                    TreePanel1.ExpandAll();
                }
            }
    resolved , plz close the thread.
  3. #3
    Hi @hdsoso,

    It is better to configure the Root Node with:
    Expanded="true"
  4. #4
    Quote Originally Posted by Daniil View Post
    Hi @hdsoso,

    It is better to configure the Root Node with:
    Expanded="true"
    no work for this method.
  5. #5
    Reproduced. Reported to Sencha.
    http://www.sencha.com/forum/showthread.php?272385
  6. #6
    Sencha opened a bug. Created an Issue to track the defect.
    https://github.com/extnet/Ext.NET/issues/349
  7. #7
    Quote Originally Posted by Daniil View Post
    Sencha opened a bug. Created an Issue to track the defect.
    https://github.com/extnet/Ext.NET/issues/349
    is it be fixed now ?
  8. #8
    Unfortunately, it has not been fixed yet.

    Please clarify, does this workaround not work for you anymore?
    TreePanel1.ExpandAll();

Similar Threads

  1. [CLOSED] auto expand tree ?
    By hdsoso in forum 2.x Legacy Premium Help
    Replies: 27
    Last Post: May 17, 2013, 2:16 AM
  2. How expand Perticular Tree panel Node
    By Binai in forum 1.x Help
    Replies: 0
    Last Post: May 15, 2013, 8:56 AM
  3. Replies: 1
    Last Post: Apr 02, 2013, 5:50 AM
  4. Replies: 0
    Last Post: Aug 09, 2012, 8:30 AM
  5. Way to hide root TreeNode expand button?
    By dbassett74 in forum 1.x Help
    Replies: 3
    Last Post: May 14, 2009, 11:54 AM

Posting Permissions