-
Notifications
You must be signed in to change notification settings - Fork 24
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
Incomplete idea of filter config with different operators #90
Comments
The solution is to remove the concept of "operators" and only work with a conjunction of filters for the individual columns. Secondly, we add a The reason why this works is, that "empty string" is ignored by the filter method in the data source. So the lifecycle of a filter is like this:
|
Hello, |
Yes. You can implement your own data source class by extending I recommend to disable all built-in filtering stuff when you implement custom external filters (like e.g. a textfield which allows you to define a query). Otherwise your custom filter might need to merge the built-in filter config with your own filter config and apply that to the data before returning it from |
It seems there was a feature hacked into the filter configuration that allows to combine filters with OR instead of AND.
This feature is, however, very incomplete for the following reasons:
addFilter
signature might suggest that)Improving or removing this feature would be both breaking changes. So this issue here is just a reminder that something should be done about this in case a major upgrade is planned eventually.
The text was updated successfully, but these errors were encountered: