Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Apr 08, 2009 02:32
open dhtmlx forum
refresh filters after filterBy and other filtering methods

Hi,

As per one of the queries in
http://www.dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=6&q=7455&ssr=yes&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.
Answer posted by dhxSupport on Apr 08, 2009 03:28
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.