-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[data grid] Filtering on column header #6247
Comments
Since we're moving forward without a Query language on a filter input, we need to find an alternative way to support some advanced use cases, at least those that depend on a different comparator (not contains or equals). @gerdadesign, can we have a concept with a UI control to change the comparator? Another point: The filtering on header won't support multiple conditions, but it must still somehow reflect if a user set multiple conditions in the filter panel. |
Would the header with the filters and the panel with the filters be available at the same time or is it up to the developer to choose between one of the two possibilities? In case both can be activated then one possibility would be to limit to logic AND and one filter per column in the filter panel. Mauro |
Thanks for the feedback, @mauro-ni. |
@joserodolfofreitas Thanks for the reply. I understand that it may not be possible to provide both a simplified user interface in the header and filter panel. An idea could be to show only one filter per column in the simplified user interface in the header and possibly signal with an icon (or a icon button) the presence of other filters, accessible through the filter panel. |
Reading through this issue. I feel that it's going after the same problem than #5973. I first saw this request when Damien implemented the rich filtering feature, and people asked the same thing:
Effectivement, it's about allowing designers and PMs to implement different filtering UX tradeoffs. So I think it's all about optimizing for the simpler search use cases (AND contain match for each column), compared the filter panel. People seem like this tradeoff: |
If we ever want to push column header filtering far: Screen.Recording.2023-09-14.at.17.42.04.mov |
Summary
Enable the possibility of using a filter input on the column's header, either by:
Figma prototype
vDecember-05-2022
Motivation
There are different issues asking for this feature, each requiring something a bit different, which shows the need to leave customization open for this field.
The basic solution, and most likely the default, involves adding an input (Usually text, but it could be a select, or other inputs that matches column types) on the second header row assuming a “contains” or “equals” cooperation.
Customizations:
Examples
Devexpress
Telerik, and AG Grid use the filter icon to bring advanced options, each in its own way.
guriddojs
http://www.guriddo.net/demo/guriddojs/searching/custom_rule/index.html
The text was updated successfully, but these errors were encountered: