Clear all filter button clearing selected grid checkboxes

Posted by: nilesh_nichal on 25 October 2023, 10:59 pm EST

  • Posted 25 October 2023, 10:59 pm EST - Updated 25 October 2023, 11:07 pm EST

    Clear all filter button clearing selected grid checkboxes which is in the first column, but we do not want to clear it from the checkbox. Please find the screenshot for reference.

    (click)="clearFilter(filter)"

    
      public clearFilter(filter) {
        filter.clear();
      }

    The above code is clear all the selected checkbox which we do not want, please let me know if you need more inputs from our end

    Pic 1 - we just selected the checkbox

    Pic 2 - we apply the clear all filter

    Result - Checkbox is cleared

    Expected - We do not want to clear the checkbox, rest all column should be cleared but checkbox should not be cleared after clicking the clear all filter button



  • Posted 26 October 2023, 3:11 pm EST

    Hello,

    We apologize but we are unable to replicate the issue with your shared steps at our end, could you please refer to the below sample used to replicate the issue and let us know if any changes are required to replicate the issue at our end?

    If you are facing the issue only in your application and not in the below-shared sample, it might be possible that the issue is caused due to some other factors in your application therefore I would request you to please share a small sample replicating the issue.

    Sample link: https://stackblitz.com/edit/angular-cydbge?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels