We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Overview

The HTML5 JavaScript TreeView or JS TreeView control allows you to represent hierarchical data in a tree structure. It has great performance combined with advanced features like load on demand, checkbox support, multiple selection, tree navigation, drag and drop, tree node editing, and template support.


JavaScript TreeView data binding from different data sources

Data binding

You can bind data to the TreeView control from any valid data source, such as XML, JSON, and JSONP. The tree data can be local or in any remote service and fetched using different kinds of adaptors like OData, OData V4, URL, JSON, and Web API.


Load on demand

The JavaScript TreeView control has a load-on-demand option that allows you to load huge amounts of data by dynamically loading the data on demand, which improves the control’s performance.

Also, child nodes in the control can be loaded from any web services or inserted dynamically.


Tree node with icons

Display nodes with labels and icons to present content in a more readable format. This is helpful in making a typical directory tree and file system.


Checkbox support

The JavaScript TreeView control provides built-in support for checkboxes, allowing users to select more than one item.

The tree view checkbox has a tri-state mode also, which is applicable only for parent nodes. In this mode, the parent node will go into the indeterminate state when the child nodes are partially checked.


Drag and drop

HTML5 JavaScript TreeView control drag and drop inside a tree

Inside the tree

Tree nodes can be dragged and dropped from one parent node to another within the same level or different levels.

HTML5 JavaScript TreeView control drag and drop between trees

Outside the tree

Extending the drop behavior allows users to drop tree nodes from one tree view to another tree view.

HTML5 JavaScript TreeView control dragging and dropping to external container

To an external container

Drop tree nodes to any external container or component by extending the tree view node drop action.


Multiple node selection

The JavaScript TreeView control allows users to select multiple nodes. When the drag-and-drop feature is enabled, all the selected nodes can be dragged at the same time.

HTML5 JavaScript TreeView multiple node selection

HTML5 JavaScript TreeView multiple node drag and drop


Editable nodes

Edit the tree nodes’ label text on the client side by double-clicking it. While editing tree view nodes, the tree view data source will also be updated by the modified data.


Sorting tree nodes

Render the tree view nodes in ascending or descending order based on the label text to provide users improved readability.


Node template

The TreeView control can be customized through its node template support, which allows defining a custom structure for tree nodes. You can use node templates specifically for parent nodes, child nodes, or both, and can include images and any custom element structure.


Expand collapse icons

Easily customize the expand and collapse icons based on your application requirements.


Right to left (RTL)

Supports right-to-left (RTL) direction for users working in right-to-left languages like Hebrew, Arabic, or Persian.


Web accessibility

  • Fully supports WAI-ARIA accessibility guidelines for working with screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • Designs the UI element visuals such as foreground color, background color, line spacing, text, and images based on WCAG 2.0 standard.

Developer-friendly APIs

The TreeView control for JavaScript has a rich set of developer-friendly APIs to control all UI elements and behaviors, allowing you to provide the best experience to your end users.


50+ JAVASCRIPT UI CONTROLS

Transform your applications today by downloading our free evaluation versionDownload Free Trial

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon