Hello,
I am trying to get the values of the the filters in a grid using the OnFilterStart event as suggested by you in a previous post.
This is my code.
mygrid.attachEvent(“onFilterStart”, function(c,v){alert("column " +c + " value " + v);return true;});
The alert comes back with undefined for both c and v?
What am I missing?
Many thanks
Scott
Which version of dhtmlxgrid you are using? Such situation can occur for grids before 1.6.
In dhtmlxgrid 2.0 - both parameters are arrays, which may be empty but nether undefined.
We are on 1.5. SO that might explain it. I have got around this now by setting an ID on the filters and referring ot values by the ID.
Scott