Provide callbacks for filter/search capabilities on table column
See original GitHub issue🚀 Feature Proposal
There should be the ability to filter/search for data by column. The Table component will not actually be responsible for doing the filtering, but rather expose callback such as onFilterChange that will include all filter criteria being currently applied to the table.
When a filter is chosen, there should be a badge or label that gets added above the table that indicates that a filter is being applied. The badge should have a close button in it, that when clicked, removes the filter criteria.
For columns that have a defined list of values (such as an enum like diagnosis status), the filter list should be static and not allow for any value to be typed in.
For columns that don’t have as nice of structured data (such as patient name), the filter box should be a text field that allows any value to be entered.
Technical Notes
- table should have some sort of callback that reports back what filter criteria is being applied
- there should be an icon next to the header that looks like https://fontawesome.com/icons/filter. When the icon is clicked it should render small popup that allows for the user to enter criteria
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:16 (7 by maintainers)

Top Related StackOverflow Question
@jnolan97 Just checking in: How is this one going?
Ok @tehKapa, thankyou for information, Can anyone confirm the status of this issue, @jackcmeyer @fox1t