PDA

View Full Version : How to hide root node but child node.



livinglegends
14 Dec 2010, 12:44 AM
Hi,

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


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





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

Graveworm
14 Dec 2010, 4:22 AM
rootVisible: false