Grid filter


i am getting this error when i try to

missing ; before statement

  • 21502341..2343
    • var text_value = "2341..2343";
    • mygrid.filterBy("0",function(a){
    •       return eval(a+text_value);
    •  });

Most probably the problem is in
the result expression is not valid js code, which cause mentioned error.
Using eval is a bad practice, in most cases it can be replaced with more stable solution, without eval.