Treeview
General information
AciTree is a plug-in for the jQuery library that provides a tree view with various interactive features whose layout and functionalities can be customized.
A typical treeview in our applications looks like this:
Installation
Download latest version of jQuery aciTree from the following link: https://github.com/dragosu/jquery-aciTree
Store the downloaded files in the folder "Plugins" > "acitree" (Create the file if it does not exist yet)
Add the following lines in the "Layout.cshtml" file
How to use
The simplest form of the treeview is implemented in the following way:
Examples
Example: Tree with Selectable Leaves
The following code implements the functionality of a tree whose leaves can be selected ("selectable" set to true) and when a leaf is clicked, its id will get displayed in an alert pop-up:
Last updated