Need a special offer?Find out if your project fits.
+

Clean filters

Resolved
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 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