AllenFang / AllenFang/react-bootstrap-table
Is there any way to import the TextFilter and the others?
- Ngôn ngữ chính
- JavaScript
- Star
- 2.2k
- Fork
- 761
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.