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
Overriding filters #671
Comments
Solution for anyone with the same question:
|
Do you have to override the entire filter row or add to the end? Is it possible to override just one filter? Thanks in advance. |
It is not possible to edit just one filter. I noticed that the best way is to copy entire file of m-table-filter-row.js from repo and use for example render props to add some additional filters / customizations. Using this approach you will still have access to default filters + additional ones created by you. |
it is actually possible to customize a specific filter, for instance: 1.create a custom filter component.
|
Now in column
|
Just in case if anyone's having issues with table resetting the filter control, you may control the value through this code: |
I'm confused on how to implement custom filter components. I understand that I need to do something like this:
but I'm not sure where to go from here to get a differing custom filters for table columns.
The text was updated successfully, but these errors were encountered: