TreeView: checkChildren property not to uncheck Parent when child unchecked

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

    Posted 23 Jan 2015 Link to this post

    We are using kendo treeview to display hierarchial datasource in cshtml.

    One of our requirement is to check/uncheck all children checkboxes when a parent is checked/unchecked, so we used checkChildren property to
    achieve this.

          .Checkboxes(chk => { chk.CheckChildren(true); })

    But the issue is when we uncheck a child, the parent should not get unchecked, even if we have one child inside the parent.

    Can you please provide jquery code snippet to achieve this?

  2. Daniel
    Daniel avatar
    2177 posts

    Posted 27 Jan 2015 Link to this post


    I created an example that demonstrates checking the children without using the checkchildren option in the check event. Please check it and let me know if it works for you.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top