Expand / collapse node clear the checkbox indeterminate state

2 posts, 0 answers
  1. Kay
    Kay avatar
    16 posts
    Member since:
    Aug 2013

    Posted 22 Jun Link to this post

    Hi,

    We have checkbox (<input type='checkbox' ...>) in each row of TreeList where we will set it as indeterminate state by below code:

         checkboxElement.prop('indeterminate', true);

    It works fine until I expand or collapse a node. All those 'indeterminate' checkbox are cleared.

    Please kindly advise any way to prevent such clearing.

    Thanks!

    Kelvin

     

  2. Stefan
    Admin
    Stefan avatar
    268 posts

    Posted 27 Jun Link to this post

    Hello Kelvin,

    I made an example of the Kendo UI TreeList with indeterminate (tri-state) checkboxes:

    http://dojo.telerik.com/IbEMu

    Also, the checkboxes in the TreeList should be implemented using the columns.template configuration:

    http://docs.telerik.com/kendo-ui/api/javascript/ui/treelist#configuration-columns.template

    If this is not helpful in your scenario, please send a runnable example that reproduces the issue, so we can investigate in further. 

    Regards,
    Stefan
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top