Disabled Child Node getting Unchecked if the Parent node is unChecked

2 posts, 0 answers
  1. Adam
    Adam avatar
    4 posts
    Member since:
    Sep 2013

    Posted 17 Feb 2017 Link to this post

    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.

     

  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    1207 posts

    Posted 21 Feb 2017 Link to this post

    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.
Back to Top