Hi,
Since there is no documented "IsDecendantOf" function on the client side, I was wondering if anyone has figured out how to collapse all other branches of the tree when expanding a particular node in javascript.
For example, if I have a tree as follows
A
B
C
D
E
F
G
I want that when they expand C, E collapses and if they expand F I would want A to collapse.
Basically, if they expand a branch, I want all OTHER branches to collapse.
If anyone has done this and is willing to share how they did it I would be much obliged.
Thanks ... Ed
Since there is no documented "IsDecendantOf" function on the client side, I was wondering if anyone has figured out how to collapse all other branches of the tree when expanding a particular node in javascript.
For example, if I have a tree as follows
A
B
C
D
E
F
G
I want that when they expand C, E collapses and if they expand F I would want A to collapse.
Basically, if they expand a branch, I want all OTHER branches to collapse.
If anyone has done this and is willing to share how they did it I would be much obliged.
Thanks ... Ed