This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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: 4659

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: 63202

There are any number of tree jQuery plugins.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Have you checked out Aspose?
subject: an expandable/collapsable tree view
It's not a secret anymore!