About the plugin:
This is a nice an simple jQuery plugin that allows you to render structures with nested elements in a easy-to-read tree structure. To build the tree all you need is to make a single line call to the plugin and supply the HTML element Id for a nested unordered list element that is representative of the data you’d like to display. If drag-and-drop is enabled you’ll be able to reorder the tree which will also change the underlying list structure.
Features:
- Very easy to use given a nested unordered list element
- Drag-and-drop functionality allows reordering of the tree and underlying
ul
structure - Showing/hiding a particular branch of the tree by clicking on the respective node
- Nodes can contain any amount of HTML except
li
andul
- Easy to style
- You can specify that sub-trees should start collapsed, which is useful for very large trees