开发者

JQuery Treeview with Tri-State Checkboxes

Does anyone know of a JQuery s开发者_StackOverflow中文版olution for treeview with tristate checkboxes? I'm looking at using YUI, but have more experience in JQuery.


jsTree has this as well, you can see a demo here, the setup/call itself is pretty easy:

$("#myTree").tree({ 
   ui : { theme_name : "checkbox" }, 
   plugins : { checkbox : { } }
});

There's also the simpler jQuery Checkbox tree Plugin (demo here), but it doesn't do tri-state, just throwing it out there as a very lightweight option though.


You can take a look here: http://www.terminally-incoherent.com/blog/2008/03/24/3-value-checkbox-with-jquery/

It is a tri-state checkbox but I think you can adapt it to a treeview.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜