Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Top 5 jQuery Plugins for Tree View

DZone's Guide to

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.

· Web Dev Zone
Free Resource

Learn how to build modern digital experience apps with Crafter CMS. Download this eBook now. Brought to you in partnership with Crafter Software

Tree 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.

Source code

Screen Shot 2017-04-14 at 21.09.36

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.

Source code

Screen Shot 2017-04-14 at 21.00.23

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.

Source code

Screen Shot 2017-04-14 at 21.11.53

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.

Source code

Screen Shot 2017-04-14 at 21.19.42

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.

Source code

Screen Shot 2017-04-14 at 21.37.28

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.

Crafter is a modern CMS platform for building modern websites and content-rich digital experiences. Download this eBook now. Brought to you in partnership with Crafter Software.

Topics:
data ,plugins ,tree ,view ,jquery ,javascript ,web dev

Published at DZone with permission of Swathi Prasad, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}