2010-01-19 103 views

回答

0

jsTree有这个问题,以及,you can see a demo here,设置/调用本身是很容易的:

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

还有更简单的jQuery Checkbox tree Plugindemo here),但它不会做三态,只是把它扔尽管这是一个非常轻量级的选项。