AllenFang / AllenFang/react-bootstrap-table

create custom filter that behave as multi SelectFilter

Aperta
#1,942 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2.2k
Fork
761
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hey,

I would like to create a custom filter that appears as icon near the column name, and on click I should open a dropdown menu with multi select options. please see screenshot below:
![image](https://user-images.githubusercontent.com/10222986/38615669-2ae93130-3d9a-11e8-8170-18622fc6f347.png)

I have read your documentation, I found a custom filter that only have textOK/textNOK filters, is there anyway to create **customFilter** that i can pass to the **filterHandler** an array of values so it filters the column by these values ?
for example : `this.props.filterHandler(['a','b']);` will keep only values that equals to 'a' or 'b' in the column.

Thanks

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.