AllenFang / AllenFang/react-bootstrap-table
Is there any way to import the TextFilter and the others?
- Lenguaje dominante
- JavaScript
- Estrellas
- 2.2k
- Forks
- 761
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Actually, the filters are based on the TableHeaderColumn's `dataFormat` prop. I have two tables in my page, and their datas, altought different, have the same structure (same key names).
So, for one of these tables, I need to apply a different behaviour on the filtering process, because I apply the filter values on the URL and, since the datas have the same structure, when I go to the page, I must know which value corresponds to which table. I thought about creating a HOC which applies my behaviour and then return the TextFilter, for example. Looking in the `lib/index.js` file, I can see that the default filter components can't be imported into the my project.
Is there any way to accomplish that? Should we be able to do that?
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.