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

Treeview AngularJS Checkboxes not showing state

3 Answers 59 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Colin
Top achievements
Rank 1
Colin asked on 27 Nov 2014, 10:13 AM
Setting the checked property on a node in a treeview programatically does not cause the checkbox to update. In other words it remains in its initial state of clear or checked irrespective of how many times the checked property is toggled.

This can bee seen in the attached file or at http://dojo.telerik.com/exaP

3 Answers, 1 is accepted

Sort by
0
Colin
Top achievements
Rank 1
answered on 27 Nov 2014, 10:16 AM
Link to the dojo should be http://dojo.telerik.com/exaP
0
Accepted
Alex Gyoshev
Telerik team
answered on 28 Nov 2014, 09:43 AM
Hello Colin,

You need to use the property setter to notify the widget. Here is the updated sample. If you want to be notified when the checked state is updated, use the check event.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Colin
Top achievements
Rank 1
answered on 28 Nov 2014, 11:25 PM
Hi Alex

Thanks for that, this works.

Regards

Colin
Tags
TreeView
Asked by
Colin
Top achievements
Rank 1
Answers by
Colin
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Share this question
or