Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Raghu on Nov 03, 2008 07:10
open dhtmlx forum
Grid

Hi,
function customFilter(){
 
  var text_value = $('filter_order_id').value.replace(/\s+/g,"");
  mygrid.filterBy("0",function(a){
      return eval(a+text_value);}
  });
}

i am not able to check for range values in this function i am getting error.

Answer posted by Support on Nov 03, 2008 08:02
There is the issue in your code -  the unnecessary "}":

mygrid.filterBy("0",function(a){
      return eval(a+text_value); //}   
 });