views:

294

answers:

3
+2  Q: 

Jquery Tree plugin

I need a tree plugin that has the following functionality: - add nodes (to any given node) - delete nodes (any node) - collapsable/expandable - easy access to the tree data (not sure if it is possible)

Which plug-in would you recommend?

+2  A: 

There's TreeView

JasonWyatt
We have been experimenting with this recently and it seems good so far.
Vincent Ramdhanie
I am actually looking at it as we speak. However, deleting nodes is not documented as well as adding nodes to a particular node is not documented either. I would like a plug-in that's better documented instead of spending 3 hours looking at the code.
gnomixa
I would think that you should be able to delete nodes by simply removing them from the DOM as you would with everyday jQuery...
JasonWyatt
@Vincent, do you know how to delete a node from TreeView?
gnomixa
+3  A: 

You could also try jsTree.

Mun
wow, that is something I was looking for. Thank you.
Radek
+2  A: 

I use Dynatree for JQuery. Seems pretty comprehensive. (Follow the "Programming API" link in left pane for examples of programmably adding nodes etc.)

Kristen