Hi Team,

How to use filterBy for various conditions?

I am using

mygrid.filterBy(0,function(a){ return (a < 250); });

< 250 is coming as a variable there may be other values like > 250, =250,250 etc.

So how to do it?



Filtering handler should return true for values you want to be shown and false in the other case.

So, you can check different conditions inside this function:


function your_func(value,row_id){