Flexgrid Filter Clear Button Event

Posted by: lisa.schuler on 19 August 2020, 11:24 am EST

    • Post Options:
    • Link

    Posted 19 August 2020, 11:24 am EST

    Hello,

    I am using Flexgrid filters in Angular and I would like to know when the Clear button is pressed on the filter for a given column. Is there a way I can do that programmatically? Is there an event that exists? Thank you!

  • Posted 20 August 2020, 1:25 am EST

    Hi Lisa,

    You may handle the filterChanging event of the FlexGridFilter and get the reference of the Clear button. Once you have the reference, simply use the addEventListener method to add a click event handler.

    Please refer to the sample link below for reference:

    https://stackblitz.com/edit/angular-nzhgxl

    Regards,

    Ashwin

Need extra support?

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

Learn More

Forum Channels