CollapseAll/ExpandAll Removes Indeterminate checks from parent

7 posts, 0 answers
  1. John
    John avatar
    10 posts
    Member since:
    Dec 2017

    Posted 05 Feb 2018 Link to this post

    When I am using the  CheckState=TriStateMode.Indeterminate, all works fine when I check and uncheck.

    But when I call CollapseAll or ExpandAll, all parents that have a Indeterminate check get removed.

    This is easily replicable. Is there a workaround?

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3469 posts

    Posted 06 Feb 2018 Link to this post

    Hello, John,

    Thank you for writing.  

    Following the provided information, I was unable to reproduce the issue you are facing. Please refer to the attached gif file illustrating the behavior on my end with the specified version. Am I missing something? I have attached my sample project. Could you please specify the exact steps how to reproduce the problem? Thank you in advance. 

    I am looking forward to your reply.

    Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. John
    John avatar
    10 posts
    Member since:
    Dec 2017

    Posted 06 Feb 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    The difference between mine and yours is my hierarchy went a few levels deeper.

    for example I had:

    • Site

      • Child site-A

        • Child-child –A

        • Child-child-b

     

  4. John
    John avatar
    10 posts
    Member since:
    Dec 2017

    Posted 06 Feb 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    I think I may have not made myself very clear, let me try to word smith this a little better. I am not referring to when everything in the group is checked and I click collapseAll. I am referring to when I have an indeterminate state. So assume that everything is expanded and I have an indeterminate state on one node. The parent node is shown to be indeterminate. As soon as I click collapseAll, the indeterminate state of the parent gets removed.
  5. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3469 posts

    Posted 07 Feb 2018 Link to this post

    Hello, John,  

    Thank you for writing back. 

    The provided explanation is greatly appreciated. Your initial explanation was also clear enough. I have updated my sample project to include one level deeper in the nodes. It still works as expected on my end. Please refer to the attached gif file illustrating the behavior on my end with the latest version. Am I missing something? Is the issue reproducible with my project on your end? If yes, please specify in details the exact steps that I need to perform in order to replicate it. Otherwise, feel free to submit a support ticket where you can provide a sample project and a video illustrating the undesired behavior. Thank you in advance.

    I am looking forward to your reply.

      Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  6. John
    John avatar
    10 posts
    Member since:
    Dec 2017

    Posted 07 Feb 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Your example works, but I cannot quite get it to work on mine. In fact when I use the treeview.BeginUpdate/EndUpdate as you did, I get unusual behavior. It works better when I don't use those. I am also setting tooltips and populating the Tag Property.

     

    I'll play with some more but If I cannot get this to work with just this trivial stuff, I'll just give up on it and move to something else.

    Thank you anyway.

  7. Hristo
    Admin
    Hristo avatar
    1508 posts

    Posted 09 Feb 2018 Link to this post

    Hello John,

    Indeed, the project my colleague attached is working as expected. It appears that the issue observed in your application might be related to some of your local settings and set up. In case you keep experiencing it, please open a support ticket and attach your project demonstrating the issue. This way could test it locally and see what is causing the behavior you describe.

    Let me know if you have other questions.

    Regards,
    Hristo
    Progress Telerik
    Try our brand new, jQuery-free Angular 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