Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Scott Bailey on Nov 07, 2008 08:22
open dhtmlx forum
Select Filter values

Hello,

I have a grid with several columns that have select filters on. Is it possible to get the value of the filter once it has been done. i.e. whatever the column was filtered on? I need to use this further in a function that can be called on a further event.

Many thanks
Scott
Answer posted by Support on Nov 10, 2008 02:38
You can attach custom code to the onFilterStart event

mygrid.attachEvent("onFilterStart",function(columns,values){
    //values - array of filter values, you can store it for future reference
    return true;
});