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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[data grid] Manage group visibility #6651
Comments
@m4theushw Actually, I was referring to this one https://mui.com/x/react-data-grid/column-groups/#manage-group-visibility. Image: https://github.com/mui/mui-x/assets/3165635/9445aab7-ac7d-4360-94c0-9737d9215869. Is there a place to upvote it?
Also, can we make a suggestion that has an explicit check box selection for column group visibility in the toolbar instead of a drop-down-like column button (shown below) in the toolbar? Our experience is that most of the users will not use it or even understand it.
[image: image.png]
|
@yzhang250 Yes, this issue.
We'll improve our "Manage Columns panel" to support this use case in the future. |
If you need this feature before we officially implement it, there's an alternative way with a custom implementation. It's a quick hack and can get complex if you're looking for a general solution, but it might give a hint at how to implement the feature in some specific use cases. You can find more information on how the customization of group headers works at: And you may also find useful the documentation on visibility: |
@joserodolfofreitas Very nice workaround 馃憣 . I'm not sure we need to build anything for it, or maybe this should be done as a plugin; I doubt many people would want to be forced to the bundle size for this feature when it can be almost perfectly implemented in userland. The only downside I can spot in this workaround is the lack of animation, but this is probably a different problem, one related to the column visibility changes |
Can we get filter option for a column group to show/hide columns? or do we already have it? |
This would be very useful, I can't find any info in the docs about it at the moment. |
Duplicates
Latest version
Summary 馃挕
Hi there, my company (novartis) is using mui pro version and we are wondering when will the "Manage group visibility" feature available for data grid. That is a feature we are really interested in. And will there be a tool bar like a radio or selection box to select the groups the users want to show? Thanks!
Examples 馃寛
Screen.Recording.2023-06-24.at.14.17.01.mov
Motivation 馃敠
No response
Order ID 馃挸 (optional)
No response
The text was updated successfully, but these errors were encountered: