We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the search prop is used to manually pass/fail a row's column when searching. Not super useful.
search?: (row: T) => boolean
should be instead:
search?: (row: T, search: string) => boolean
This would allow you to actually compare the row to the search string for a given column to determine if it should pass the search for that column.
This also is probably more appropriate as a prop of the DataTable, not an individual column
The text was updated successfully, but these errors were encountered:
jpfisher72
No branches or pull requests
Currently the search prop is used to manually pass/fail a row's column when searching. Not super useful.
search?: (row: T) => boolean
should be instead:
search?: (row: T, search: string) => boolean
This would allow you to actually compare the row to the search string for a given column to determine if it should pass the search for that column.
This also is probably more appropriate as a prop of the DataTable, not an individual column
The text was updated successfully, but these errors were encountered: