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

Disabled Child Node getting Unchecked if the Parent node is unChecked

1 Answer 510 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 17 Feb 2017, 10:13 AM

The sample code is available in:
http://dojo.telerik.com/IZumO/4

Requirement:
The child checkbox element should be disabled and should displayed in the treeview as checked.

Scenario/ Issue description:
For the first load when the tree view is loaded the child element was disabled and checked.
When the parent element is checked/ unchecked the disabled child node is varying as per the parent checkbox.
Note : we are setting the “checked” property of the child checkbox at all check events, but still the UI of the child check box is still not getting updated as checked.

 

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 21 Feb 2017, 08:55 AM
Hi Adam,

The reason for the observed is the Kendo version used in the sample sent. The check event is available starting from 2014.2.828 release of the widgets, while the version used in the Dojo is 2014.1.528.

By changing the Kendo version, you would be able to correctly handle the check event and keep the required checkbox always checked. Here you will find a modified version of the Dojo sent.

Regards,
Veselin Tsvetanov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
TreeView
Asked by
Adam
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or