Grid filter with JS Array


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


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.


You can use 2nd parameter of filterBy() method as a function. Please find more information here … t_filterby