Treeview checkbox ng-model not updating

2 posts, 0 answers
  1. jim
    jim avatar
    1 posts
    Member since:
    Jan 2015

    Posted 16 Mar 2015 Link to this post

    I'm using treeview with angularjs. When I check a parent node, none of the child checkbox ng-models are updating. I supplied ng-models via the checkboxTemplate property in the config. Do I need to do something special to get these to update if their parent checkbox is checked?
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 18 Mar 2015 Link to this post

    Hello Jim,

    At this time, model bindings are not supported on the checkbox templates. You can workaround this limitation by serializing / deserializing the checkbox state in the check event and prior to binding the TreeView, as shown in this Dojo snippet.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top