-
-
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
[DataGrid] Add header filters #4934
Comments
Hi, Thanks for your contribution You have issues linked there to implement is manually. But we have to do a clean implementation out of the box 👍 |
Hi @flaviendelangle, A double header where the second row has custom actionable elements, and that they have that line in between and column line separators. Would you mind being a bit more specific, please? |
You can't create a second header row, you can only make your header row bigger to have two lines in it. |
Any idea as to when we'll get API to make something like this? |
My team is implementing a part of a product that already uses AG grid, and we will have to make our tables' filters look and behave at least similar to the rest of the platform. I would really appreciate progress in this direction. I believe this ticket is similar to this one #3719 |
I would be in favor of prioritizing this feature for Q4 because it clearly has a lot of traction |
This comment was marked as off-topic.
This comment was marked as off-topic.
I think #5973 also talks about the same topic |
Actually, this ticket is about having control of the header so that it can contain 2 (multiple) rows, like in the screenshot from the ticket. The content of that second row is at the moment not that important, should it be an input field or a button triggering a dropdown would be another topic, I would say. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Please don't misunderstand this ticket. |
Basically we have 2 topics:
|
@flaviendelangle, |
Not that I'm aware off 👍 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
What would be needed to move this feature request forward? |
Time mostly |
This comment was marked as off-topic.
This comment was marked as off-topic.
Got it. |
@israelKusayev your proposal relays on the placeholder of The idea of rendering a second row is the best solution but we first need to rework the keyboard navigation to consider this new row and we already have #5879. Instead of this, I played with rendering a "second line" inside the same column headers already displayed. This approach is simpler to implement but needs a change on how the Despite the decision between second row or double-line column headers, there're other open questions.
|
After 7 months it would be nice to see some progress here. |
Thank you for the quick response, @oliviertassinari. The desired goal Now, all of these filter types are something that I wouldn't be expecting from the library, but I would appreciate the API or at least guidance on how to achieve this level of customization. The reason why it has to look and behave like this is because of my team's decision to use the Mui-x instead of the Ag grid solution because of its flexibility, size, integration, etc., however, the rest of the platform uses the Ag grid, and we have to make it look and behave at least similar for the UI/UX cohesion's sake. I have tried implementing it using the existing API and suggestions from those tickets, but the results were undesirable. For example, the second row, which I've added as a part of the column name, shared the side spacers. Also, the flexibility of customizing the origin of the filter's dropdown, and their customization is also something that, as of yet, I believe is missing. |
This comment was marked as resolved.
This comment was marked as resolved.
@nemonemi FYI, the filtering on header feature is released, which includes optimizability to add custom cells to the second header row. |
A.mazing! |
Duplicates
Latest version
Summary 💡
I have a use case where I'm integrating a piece of an application suite and we have chosen the MUI's XGrid for our table solution.
The rest of the suite uses AG grid, and since the whole suite should have the same look and feel I am tasked with adjusting the table's header to look and behave like AG grid's one does.
Examples 🌈
Motivation 🔦
What I need is a way to adjust the header so that the filter button is moved out of the header menu and to the place right below the header's cell name.
Also to have a thicker header that contains two rows
Order ID 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: