Hey,
I just wonder if react-table has support for a search box? I can not find anything about it in the docs, is there one or will I need to implement the "search"/"filter" component myself?
regards
you need to implement your own that filters the array of the data prop.
ok thanks. Kind of missing this feature out of the box, since I saw it in all the other table implementations so far, and am actually wondering why it is missing in react-table. So if I am allowed to make a wish for the future versions...
yeah maybe @tannerlinsley will implement it or accept a PR. problem is there are so many ways to accomplish this it's hard to cover all the bases for everyone.
Mike nailed it. There are so many ways to implement this that it would be
near impossible to satisfy everyone without writing a lot of edge case
code. Instead I tried to provide a really nice API and a clear path to make
your own. I think the wiki would benefit from a solution for this.
On Sat, Mar 11, 2017 at 9:38 AM Mike DeVita notifications@github.com
wrote:
yeah maybe @tannerlinsley https://github.com/tannerlinsley will
implement it or accept a PR. problem is there are so many ways to
accomplish this it's hard to cover all the bases for everyone.—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/123#issuecomment-285879495,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCa1V53YP2CYKL_lGQdDWbq5KufF5ks5rks4IgaJpZM4MaPtq
.
Most helpful comment
Mike nailed it. There are so many ways to implement this that it would be
near impossible to satisfy everyone without writing a lot of edge case
code. Instead I tried to provide a really nice API and a clear path to make
your own. I think the wiki would benefit from a solution for this.
On Sat, Mar 11, 2017 at 9:38 AM Mike DeVita notifications@github.com
wrote: