Top 5 jQuery Plugins for Tree View
In this post we take a look at five of the top jQuery plugins that allow you to leverage a tree view in your project. Read on for the list.
Join the DZone community and get the full member experience.
Join For FreeTree view is a tree-like representation of data. It is ideal for some web applications as it allows users to navigate to the information easily and quickly.
There are several jQuery plugins available for tree view. I am going to go over a list of my favorite ones in this article.
jsTree
jsTree is a jQuery plugin, that provides interactive trees. It supports HTML and JSON data sources, and AJAX and async callback loading. It also provides drag-and-drop support, keyboard navigation, and fuzzy search support.
The documentation and demo can be found here.
zTree
zTree is a multi-functional tree view plugin based on jQuery. It has support for JSON data and checkbox or radio button selection functions. It also supports drag-and-drop functionality.
The documentation and demo can be found here.
Fancytree
Fancytree is a jQuery tree view plugin that supports persistence, keyboard, check boxes, tables, drag-and-drop, and lazy loading. It also supports searching and filtering, keyboard navigation, and inline editing.
Check out the documentation and demo here.
jqTree
jqTree is a jQuery widget for displaying a tree structure in HTML. It supports JSON data, loading via AJAX, and drag-and-drop. It is written in Typescript.
The documentation and demo can be found here.
Bootstrap Tree View
This is a tree view plugin with jQuery and Twitter Bootstrap. It lets you render a dynamic, filterable, collapsible, vertical hierarchical tree from your JSON data.
The demo can be found here.
Conclusion
Those are just some of the plugins that you can use in your projects to represent the data in a tree or hierarchical structure. If there are any other tree view plugins that you use, let me know in comments section.
Published at DZone with permission of Swathi Prasad, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments