This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "an expandable/collapsable tree view" Watch "an expandable/collapsable tree view" New topic

an expandable/collapsable tree view

Pat Farrell

Joined: Aug 11, 2007
Posts: 4646

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.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60783

There are any number of tree jQuery plugins.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
wood burning stoves
subject: an expandable/collapsable tree view
Similar Threads
API for Reading XML Schema
How we can make tree view in struts1.1
Drag and drop of multiple items
Need a Frame Refresh, when invoking a tree event
Need help on design of Swing application