-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feature Idea: Filters #12
Comments
Thanks @minthemiddle , this is definitely something to think through. We'll need multiple select dropdowns if there are multiple filters. At the least there would need to be a "column" select and then another "field/option" select like so:
One way to handle this is like the original jQuery datatables example for column filtering, with a select dropdown above/below each "filterable" column. Another consideration is the option set. Do we retrieve these from the database or are they user-input? I think somehow the user needs to define the options for a few reasons.
The query builder in The user would need to define how the options affect the query, such as a For brainstorming purposes...
When the option is a string, int, datetime we can add a where clause:
When it's an array we can pass the operators. Can be multi-clause:
Any thoughts on that approach? |
@coryrose1 I strongly support the idea that the user has to define the options herself. |
blue
and fromtoday
The text was updated successfully, but these errors were encountered: