Dear visitor, despite all the challenges, our team continues operating at full speed.

We are ready to help with any questions you may have. Please fill out this quick form and we'll get back to you.

Fill the form
Get Free Trial

Clean filters

Jose Antonio Veintimilla asked on February 23, 2018

Good Morning.

In a flat grid how can I clean (delete) all the established filters (not just the preset ones)? I have used the cleanFilter method but it only eliminates the pre-established filters, not those that have been generated during the work with the grid.

1 answer

Public
Tanya Gryshko Flexmonster February 26, 2018

Hello, Jose,
You are right, clearFilter method clears the filter for the specified hierarchy. You can use getReport method to get the current state of the component and remove filters here. Then you can apply the updated report via setReport method.
Please let me know in case of other questions.
Regards,
Tanya

Please login or Register to Submit Answer