Posted 26 November 2021, 4:04 am EST - Updated 3 October 2022, 12:14 pm EST
Hi,
We have JS based custom wijmo grid (wj-flexgrid). we have enabled FlexGridFilter for all the columns of that grid.
Now, we want to have the ability to clear all applied filters once, instead of checking which filter is applied on which column and clearing those manually.
To achieve this, we have added one button on the menu, and on click of that button I’m calling one JS function to clear all applied filters.
function clearFilters(){
//_flexGrid._cv.filters.clear();
//wijmo.grid.filter = [];
_flexGrid.collectionView.filters.clear();
_flexGrid.refresh(); //grid object
}
Hare, I tried all available options to clear filters but it won’t clear any filters
Also, I refreshed the grid object too.
Could you please help on?
- Why filters dose not clear.
- Is there any other way to clear multiple filters at once.
Thanks