开发者

How do I prevent jsTree from rendering checkboxes on all but leaf nodes?

开发者 https://www.devze.com 2023-01-22 03:05 出处:网络
I have a request to only have the leaf nodes of the tree have the option of being selected. This tree is being populated with the json_data plugin. Is there an option available either in the data or

I have a request to only have the leaf nodes of the tree have the option of being selected.

This tree is being populated with the json_data plugin. Is there an option available either in the data or through the api to remove checkboxes or prevent them from be开发者_运维百科ing rendered?


Which plug-in you use? There is a lot of plug-ins - here is one so may serve you needs

http://www.greepit.com/2009/03/javascript-dynamic-tree-view-control-for-jquery/

0

精彩评论

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