mercredi 27 septembre 2017

Does ag-grid have an api to filter multiple checkbox values?

I'm using angularjs and have a list of checkboxes that I need to able to filter my ag-grid on.

This works fine using radio buttons and calling api.setQuickFilter with the individual value. However, I'm not seeing a way to allow for multiple 'filters' (i.e. checkbox values stored in an array) to function with setQuickFilter. Is there another method I should be using to accomplish this?

Example:
[checkbox] Apple
[checkbox] Bee
[checkbox] Cheerios

Checking box Apple and Cheerios at the same time should return a grid filtered to only show rows that contain the word "Apple" OR "Cheerios".




Aucun commentaire:

Enregistrer un commentaire