Results 1 to 2 of 2

Thread: How to hide root node but child node.

  1. #1

    Default How to hide root node but child node.

    Hi,

    In my tree panel, I have four children under root node like below.

    Code:
    Root Node
     |
     |______Child One
                |
                |______________C1
                |
                |______________C2
     |
     |______Child Two
                |
                |______________C1
                |
                 |______________C2
     |
     |______Child Three
                |
                |______________C1
                |
                 |______________C2
    But, I want to hide root node but not child node like this


    Code:
     Child One
                |
                |______________C1
                |
                 |______________C2
     Child Two
                |
                |______________C3
                |
                 |______________C4
     Child Three
                |
                |______________C5
                |
                 |______________C6

  2. #2
    Sencha User
    Join Date
    Jan 2009
    Location
    Weinstadt
    Posts
    23

    Default

    PHP Code:
    rootVisiblefalse 

Similar Threads

  1. TreePanel Hide Root Node?
    By thejoker101 in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 12 Aug 2010, 7:21 AM
  2. Treepanel: How do I get the first child of the root node?
    By mannyk in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 11 Aug 2010, 1:29 AM
  3. How to initially select first child of root node in Treepanel?
    By andrej_marincic in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 22 Apr 2010, 5:47 AM
  4. Tree - hide root node?
    By Saeven in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 9 May 2007, 7:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •