Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Agile on Oct 22, 2008 06:44
open dhtmlx forum
Filtering

Hi Team,

Is there any way to get which filter selected while using mygrid.attachEvent("onFilterStart",function(a,b))?

Thanks

-Agile
Answer posted by Support on Oct 22, 2008 08:38
You can get only current values of all filters.
Event will have the same parameters without relation to last activated filter ( it hardly detectable even from inner grid's code ) 
The only possible solution - store old value and compare it with new - value in array "b", which was changed after last time, most probably related to last activated filter.