Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kendo UI treeview parent node without checkbox

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.

like image 363
skalinkin Avatar asked Dec 12 '12 19:12

skalinkin


1 Answers

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.

like image 82
Petur Subev Avatar answered Nov 06 '22 17:11

Petur Subev