File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

Tree data structure

 
Anand Gondhiya
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi All,

I have created a Tree view structure using java script on my left navigation bar. Currently it uses hard coded values but I want to server sided values ( dynamic ).

can anybody tell me about java script data strucutres which can hold tree like data ?

thanks
Anand
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
If you are building it on the server side, why do you need Javascript data structures?
 
Anand Gondhiya
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
because when I click on any of those leaf nodes , I want to know which was the node I had clikced / selected.

If there is way to find out which node was clicked , i can avoid having javascript
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing, duplicate of this.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic