This is a migrated thread and some comments may be shown as answers.

Set Checkbox from HTML

1 Answer 50 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Voss
Top achievements
Rank 1
Voss asked on 11 Nov 2013, 01:39 PM
In using jsut the basic method of building html (ul/li) and then setting:

$(

 

"#treeview").kendoTreeView({
checkboxes: {checkChildren:
true},
});

Is there a way via Html tags to set what items have a checkbox or not?

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimiter Madjarov
Telerik team
answered on 11 Nov 2013, 02:53 PM
Hi Voss,


By design all items have a checkbox. As a solution you could manually hide the checkbox for some items via jQuery after the TreeView is initialized.

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
Voss
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or