S
S
second_pilot2010-10-19 11:32:29
JavaScript
second_pilot, 2010-10-19 11:32:29

javascript tree?

So I'm working as part of a team on one big project based on php and jquery. Since the development is carried out in extreme conditions, in some places different plugins are used to draw the tree and there is no single API for such things. In this connection, I am looking for one plugin that would help unify the whole thing.
Requirements:
Drag and drop (using ctrl, events)
Api from the javascript side to call a redraw of a part of the tree, add, change an element
Built-in context menu and api for it

At the moment I'm leaning towards this thing www.jstree.com/demo
If you know better options, or even you have hidden a silver bullet, you will help me a lot

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2010-10-19
@second_pilot

I tried a lot of things, but I settled on jstree - it can do a lot of things and it's easy to customize.

S
second_pilot, 2010-10-29
@second_pilot

So I've been playing around with this plugin and it's pretty damn good. In addition to all the possible functions, it contains such goodies as rollback, which allows you to roll back the tree to a certain state (for example, if you need server-side validation when dragging and you cannot cancel it immediately), as well as the ability to drag and accept elements that do not belong to the tree. Thanks to all

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question