refresh filters after filterBy and other filtering methods


As per one of the queries in … s&s=filter

To clear all the filters I used the part of code mentioned in above link but none of the methods work.

What I want to achieve is, when I do filterBy the options in the filter should get refreshed with the existing data in the grid rows rather than the previous data before filterBy. Same thing should happen when I select filtering in the grid header.

I have tried mygrid.clearFilters() as mentioned in above link but it did not work , and even the other method through HTML and that too did not work.

Mentioned feature clear all filters, not refreshes them. To refres filters you can use method grid.refreshFilters(); - refresh lists of values in all the filters created by shortcuts or by makeFilter.