Categories | Question details Back To List | ||
OnFilterStart no values? 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 Answer posted by Support on Feb 23, 2009 07:07 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. Answer posted by Scott Bailey on Feb 23, 2009 07:34 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 |