Skip to content
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] How to override HIDE ALL panel button ? #12423

Closed
Aberkati opened this issue Mar 12, 2024 · 6 comments
Closed

[data grid] How to override HIDE ALL panel button ? #12423

Aberkati opened this issue Mar 12, 2024 · 6 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Column visibility support: commercial Support request from paid users

Comments

@Aberkati
Copy link

Aberkati commented Mar 12, 2024

The problem in depth

I want to override the hide all button, the goal is to change it to Restore InitialiState and restore the initialState when pressed, not to disable all columns, there is a solution for this issue please ?

This is my demo
Thank you

Your environment

System:
OS: Windows 10 10.0.19045
Binaries:
Node: 18.18.1 - C:\Program Files\nodejs\node.EXE
npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
pnpm: Not Found
Browsers:
Chrome: Not Found
Edge: Chromium (122.0.2365.80)
npmPackages:
@emotion/react: ^11.10.6 => 11.11.1
@emotion/styled: ^11.10.6 => 11.11.0
@mui/base: 5.0.0-beta.7
@mui/core-downloads-tracker: 5.14.0
@mui/icons-material: ^5.11.16 => 5.14.0
@mui/material: ^5.12.1 => 5.14.0
@mui/private-theming: 5.13.7
@mui/styled-engine: 5.13.2
@mui/system: 5.14.0
@mui/types: 7.2.4
@mui/utils: 5.13.7
@mui/x-data-grid: 6.10.0
@mui/x-data-grid-premium: ^6.10.0 => 6.10.0
@mui/x-data-grid-pro: 6.10.0
@mui/x-license-pro: ^6.10.0 => 6.10.0
@types/react: 18.2.15
react: ^18.2.0 => 18.2.0
react-dom: ^18.2.0 => 18.2.0

Search keywords: DataGridPremium
Order ID: 66242

@Aberkati Aberkati added status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: commercial Support request from paid users labels Mar 12, 2024
@michelengelen
Copy link
Member

Hey @Aberkati,
this is currently not possible without implementing a fully custom column visibility panel.

For v7, which will release next week, we redid the whole columnsManagement panel. It now includes a Reset button. You might want to check that out here

Would that help in your use case?

@michelengelen michelengelen added status: waiting for author Issue with insufficient information component: data grid This is the name of the generic UI component, not the React module! feature: Column visibility and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 12, 2024
@michelengelen michelengelen changed the title How to override HIDE ALL panel button ? [data grid] How to override HIDE ALL panel button ? Mar 12, 2024
@Aberkati
Copy link
Author

Hey @michelengelen ,thank's for your response, Yes it will help me a lot, I'm waiting !!
Thank you

@github-actions github-actions bot added status: waiting for maintainer These issues haven't been looked at yet by a maintainer and removed status: waiting for author Issue with insufficient information labels Mar 12, 2024
@michelengelen
Copy link
Member

Great ... let us know if that resolved your issue! 🙇🏼

@michelengelen michelengelen added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 12, 2024
@github-actions github-actions bot removed the status: waiting for author Issue with insufficient information label Mar 12, 2024
Copy link

⚠️ This issue has been closed.
If you have a similar problem, please open a new issue and provide details about your specific problem.
If you can provide additional information related to this topic that could help future readers, please feel free to leave a comment.

How did we do @Aberkati?
Your experience with our support team matters to us. If you have a moment, please share your thoughts through our brief survey.

@Aberkati
Copy link
Author

Hi, When the v7 version will release ? thank you

@MBilalShafi
Copy link
Member

Hey @Aberkati, the first stable release is expected by end of the current week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Column visibility support: commercial Support request from paid users
Projects
None yet
Development

No branches or pull requests

3 participants