1.8.3 • Published 2 days ago

jqtree v1.8.3

Weekly downloads
2,251
License
Apache-2.0
Repository
github
Last release
2 days ago

Build codecov

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 all modern browsers
  • 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.

1.8.3

2 days ago

1.8.2

2 months ago

1.8.1

2 months ago

1.8.0

6 months ago

1.7.3

8 months ago

1.7.2

8 months ago

1.7.5

7 months ago

1.7.4

8 months ago

1.7.1

9 months ago

1.7.0

1 year ago

1.6.3

2 years ago

1.6.2

2 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.3

3 years ago

1.5.2

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.12

4 years ago

1.4.11

5 years ago

1.4.10

5 years ago

1.4.9

6 years ago

1.4.8

6 years ago

1.4.7

6 years ago

1.4.6

6 years ago

1.4.5

6 years ago

1.4.4

6 years ago

1.4.3

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.8

7 years ago

1.3.7

7 years ago

1.3.6

8 years ago

1.3.5

8 years ago

1.3.4

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.22.0

10 years ago