Grid filter with JS Array

Hi,

 I am using filterBy() to filter grid for single filter criteria. For example i am using the following code in my script for filtering, 

	mygrid.filterBy(1,code,true);

When i pass code variable with single value it works fine. When i pass code variable as JS array it doesn’t work. Is there any method to filter grid with JS Array.

Thanks,
Vinesh

You can use 2nd parameter of filterBy() method as a function. Please find more information here docs.dhtmlx.com/doku.php?id=dhtm … t_filterby