New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AntD Table - Search textbox to filter/search in all columns #22969
Comments
You can create your table by composing Table and Input component, or you can try https://github.com/ant-design/pro-table/ |
Well, the Pro-table doesn't work... but, I created a quick and easy example of how it should work... If somebody else required inspiration... check out this code: I will need to include more code to validate when the column is a picklist/Combobox/select option instead of plain text... but I will work on that! |
@mbv401920150 codeSandBox link is not active any more can you send it once more. Thanks |
Seems that still working, please check again... FYI, this is the link: |
This would be help you,
|
how to ant design table search in function components |
this works partially, because if you have other values in the object and one of them is not in any column of your table, that is, it is not being used for some reason, and if you search for it, the filter will return true exemple. How to solve this? |
Those for are looking the solution using react-hook in Functional Component. Here's the codesandbox link:https://codesandbox.io/s/antdesign-table-search-option-forked-3i1bwb?file=/index.js |
you can add TextBoxes in each columns like this const columns = [
|
What problem does this feature solve?
I previously used Material Table, and the only thing that I miss is the option to search/filter this table because the filter performs in all columns.
https://material-table.com/#/docs/features/search
What does the proposed API look like?
Have the option to enable or disable the search option based on the API (Like the Material UI Table)
The text was updated successfully, but these errors were encountered: