AllenFang / react-bootstrap-table

A Bootstrap table built with React.js
https://allenfang.github.io/react-bootstrap-table/
MIT License
2.23k stars 782 forks source link

Search doesn't work with expandable row #1126

Open binbin78 opened 7 years ago

binbin78 commented 7 years ago

I checked the example, when I type string to search in the search box, it won't work with expandable row. the table shows empty. Feels like search only works on top level table. Is there a way to make search work cross all rows including with expand row?

binbin78 commented 7 years ago

Since expanded row is a separate table, it has its own table data store, is that possible to let outer table to know the inner table data store and also search on inner table and return result accordingly?

AllenFang commented 7 years ago

sorry for lately reply, busy on my job. Currently, we dont support this kind of feature, so the search wil not be applied to inner table. I think this is a feature maybe I can support, but it's just minor feature and may not be supported in near future. And I'm very busy recently so that there will be some delay.

SimonDKnight commented 7 years ago

+1 for this feature please

supiash1 commented 7 years ago

@AllenFang Could you let me know if you consider implementing this feature or could give you give me an idea on how this can be implemented using custom search filter, please?

AllenFang commented 7 years ago

Hi react-bootstrap-talble already stop develop new feature(Mentioned on README.md), we are toward to react-bootstrap-table2 development. I'll consider to implement this feature on react-bootstrap-table2. Thanks

supiash1 commented 7 years ago

@AllenFang Thank you