aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes an expandable/collapsable tree view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "an expandable/collapsable tree view" Watch "an expandable/collapsable tree view" New topic
Author

an expandable/collapsable tree view

Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

I need to implement a view of a tree, think of the usual file directory structure that you look at with Finder, Windows Explorer, etc. I want to show each level, and when you click on an item, expand it to show the lower level. Repeat as desired.

What is the best practice way to implement this? I can use about anything I want, AJAX, jQuery, etc.

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

There are any number of tree jQuery plugins.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: an expandable/collapsable tree view