Click here to Skip to main content
16,020,417 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I would like to ask if you can give me some help.

a)How can I have collapsed nodes when I click the parcticular node?

b)Parent node has 100 childs, how can I display?
Posted
Updated 12-Jan-11 0:06am
v2
Comments
Dalek Dave 12-Jan-11 6:07am    
Edited for Readability and Clarity.

 
Share this answer
 
Comments
Dalek Dave 12-Jan-11 6:07am    
Good link.
Kasson 12-Jan-11 6:24am    
Thanks Dalek.
Badari Narayana 18-Jan-11 4:25am    
Hi Kasson,

How can I make a collapsible horizontal tree? It means, when I click the one parent node it automatically collapses the other all parent nodes.Please help me
Espen Harlinn 12-Jan-11 6:28am    
5+ I agree, it's a good link
Kasson 12-Jan-11 6:29am    
Thanks Espen
This may help:
http://wiki.jqueryui.com/w/page/12138128/Tree[^]

The source code for the tree is available, so it should give you some idea about how to achieve this.

A horizontal tree with a 100 child nodes, seems like an odd idea. When you expend the node things are probably bound to get cumbersome from a user perspective. If this turns out well I'd really liked to get a look at it.

Update:
Kasson found you a good link, exactly how this will turn out with a 100 child nodes will be interesting.

Regards
Espen Harlinn
 
Share this answer
 
v3
Comments
Manfred Rudolf Bihy 12-Jan-11 8:56am    
Had to compensate! 5+
The rampaging idiot univoter seems to be on the loose again.
Espen Harlinn 12-Jan-11 9:12am    
Thanks Manfred!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900