How to stop check/uncheck of parents

2 posts, 0 answers
  1. Jason
    Jason  avatar
    7 posts
    Member since:
    Apr 2012

    Posted 04 Mar 2016 Link to this post

    Is there a way to all checkChildren to be true but not have it check the parents?  I need the checking down the tree but not up the tree.  Checking or unchecking a child should not affect its parents state.


  2. Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 08 Mar 2016 Link to this post

    Hi Jason,

    The checkChildren property is designed to allow checking/unchecking all child items and to indicate the selected state of those child items and it will not be possible to achieve the desired behavior with checkChildren set to "true". However, you could try to set it to "false" and use the "check" event to manually check/uncheck all child items. This will allow you to keep the checked state of the parent items when you click on a child item.

    Hope this helps.

    Konstantin Dikov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top