Kendo UI treeview parent node without checkbox

狂风中的少年 提交于 2019-12-07 03:58:50

问题


What approach will be to achieve displaying TreeView with checkboxs but I do not need checkbox for parents node only for "items" without children. i.e. I am displaying folder structure but do not want to have checkbox for any folder only for files.

Thanks.


回答1:


You should use use checkbox template. If there are not children do not display checkbox input at all. Here is a JSBIN example what I am talking about.



来源:https://stackoverflow.com/questions/13847237/kendo-ui-treeview-parent-node-without-checkbox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!