jqtree

WebJar for jqtree

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

jqtree
Last Version

Last Version

1.4.9
Release Date

Release Date

Type

Type

jar
Description

Description

jqtree
WebJar for jqtree
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/mbraak/jqtree

Download jqtree

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/jqtree/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>jqtree</artifactId>
    <version>1.4.9</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/jqtree/
implementation 'org.webjars.npm:jqtree:1.4.9'
// https://jarcasting.com/artifacts/org.webjars.npm/jqtree/
implementation ("org.webjars.npm:jqtree:1.4.9")
'org.webjars.npm:jqtree:jar:1.4.9'
<dependency org="org.webjars.npm" name="jqtree" rev="1.4.9">
  <artifact name="jqtree" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='jqtree', version='1.4.9')
)
libraryDependencies += "org.webjars.npm" % "jqtree" % "1.4.9"
[org.webjars.npm/jqtree "1.4.9"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : jquery jar [1.9,)

Project Modules

There are no modules declared in this project.

Build Coverage Status

NPM version

jqTree

JqTree is a tree widget. Read more in the documentation.

screenshot

Features

  • Create a tree from JSON data
  • Drag and drop
  • Works on ie9+, firefox, chrome and safari
  • Written in Typescript

The project is hosted on github, has a test suite.

Examples

Example with ajax data:

<div id="tree1" data-url="/example_data/"></div>
$("#tree1").tree();

Example with static data:

var data = [
    {
        label: "node1",
        id: 1,
        children: [{ label: "child1", id: 2 }, { label: "child2", id: 3 }]
    },
    {
        label: "node2",
        id: 4,
        children: [{ label: "child3", id: 5 }]
    }
];
$("#tree1").tree({
    data: data,
    autoOpen: true,
    dragAndDrop: true
});

Documentation

The documentation is on http://mbraak.github.io/jqTree/.

Thanks

The code for the mouse widget is heavily inspired by the mouse widget from jquery ui.

Versions

Version
1.4.9
1.4.8
1.4.2
1.3.2
1.1.0