PackageDescription: JQuery-jsTree


J Query -js Tree

Last published: August 29, 2010 by 'klnsrgn'

Defines 26 Classes
Extends 28 Classes


Support code for jsTree
http://www.jstree.com/

jsTree is a javascript based, cross browser tree component. It is packaged as a jQuery plugin.

This support package is public domain.

jsTree itself is composed of various plugins, so you need to specify the required plugins.
You will at least need "core", "themes" and a data plugin (HTML, JSON or XML).

tree := html jQuery new jsTree.
tree useHtmlData.
tree useThemes
dots: false.
tree useCore
animation: 150.

The tree can be controlled via Javascript:

( html submitButton )
onClick: ( html jQuery id: 'tree' ) jsTree openAll;
text: 'Expand all nodes'.

Note that the actions can only be performed when the required plugins have been added.