开发者

What is the "standard" JQuery treeview that most people use? It seems the most popular plugin isn't supported anymore?

I've chosen JQuery as my JavaScript library but now I'm a bit frustrated by the JQuery plugin site... the site kinda sucks... the plugin area isn't designed very well and 开发者_如何学编程I can only find a few treeviews. The one with the most votes (link text) isn't supported anymore.

Can someone please point me to an industrial strength treeview?

Desired Features:

  • stable

  • async / ajax would be nice

  • drag and drop nodes would be nice

I've been delighted so far with JQueryUI--nice design. But, how come it doesn't come with a standard tree view?

Pete


I don't know that there is a "standard" single solution for this. One I've used in the past that just got a major update is jsTree, it got a lot of improvements...it doesn't fit your "stable" requirement because it's in RC status, but that should change soon.

You can get more info on it here (it is large though, make sure it's not overkill for your needs)

There are certainly other options, but as I haven't used any of them (and we eventually went to a custom tree since our requirements were very light/specific)...I just can't give any first-hand experience information for the alternatives. I'll it for someone who's actually used them to give some insight.

Also, the jQuery UI Tree is coming, it's currently in the planning stages, you can track it's progress here: http://jqueryui.pbworks.com/Tree


For anyone looking for a "Checkbox Treeview", look no further: https://code.google.com/p/checkboxtree/

I stumbled upon this question when looking for a Checkbox Treeview so I thought I'd post a link - maybe helpful to others out there like myself!


JQuery Ui has a menu widget which is essentially a tree structure.

http://jqueryui.com/menu/

The first two requirements are meet. I am not sure about the ability to handle drag and dropped items however.


A simpler version is here

http://www.dhtmlgoodies.com/index.html?whichScript=drag-drop-folder-tree

its very basic and lack some features like tick selection, different icons for open and close folder etc..


Js Tree is an easy one and you can use it in a form with checkboxes plug in to submit to the server enter link description here

https://www.jstree.com/


Jquery Sapling gets the job done without requiring you to change the markup.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜