reactive-table icon indicating copy to clipboard operation
reactive-table copied to clipboard

filter multiple values for a field in Reactive table server side pagination

Open sakshi-kataria opened this issue 9 years ago • 1 comments

Hello

I am facing a problem while working over filtration in Reactive table server side pagination If i want to filter multiple values for a field , i am not able to do, I tried it by passing array or object in template.fileter.set(object/Array) but it is not working Can you please provide any solution regarding this issue

sakshi-kataria avatar Aug 09 '16 07:08 sakshi-kataria

The custom filtering isn't very sophisticated, but if the values are strings you can just make one string with all the values you want to match. So if you wanted to match "a", "b", or "c", you could set the filter to "a b c".

You can also create multiple filters and set filterOperator to $or in the table settings to make it match any of the filters instead of all of them.

aslagle avatar Aug 12 '16 01:08 aslagle