Tree Views
jQuery tree plugin, that provides interactive trees. Supports HTML & JSON data sources, AJAX & async callback loading.
Basic
-
Root
- Directory
- File Unread
-
Another directory
- File text
- File word
- File excel
- File powerpoint
- File pdf
- File archive
- File image
- File audio
- File video
- Something else
- File node
JSON data
Ajax
Working with events
Let's use the most basic event changed
- it fires when selection on the tree changes: