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

I am trying to put the functionality of manage columns functionality that we see when we click on Filter button behind a custom button. Is that possible? #10342

Closed
spoorti22 opened this issue Sep 14, 2023 · 3 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! customization: extend Logic customizability support: question Community support but can be turned into an improvement

Comments

@spoorti22
Copy link

spoorti22 commented Sep 14, 2023

I am using the free community version of MUI Datagrid and was wondering how I can get the implementation of GridToolbarColumnsButton behind a custom button?

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 14, 2023
@zannager zannager added the component: data grid This is the name of the generic UI component, not the React module! label Sep 15, 2023
@spoorti22
Copy link
Author

spoorti22 commented Sep 15, 2023

Essentially the gridtoolbarcolumn button functionality behind a custom button.
@gzrae Can you please help with this use case? Can we strip the functionality out?

@cherniavskii
Copy link
Member

Hi @spoorti22
You can use the API object to toggle the columns panel, here's a working demo: https://codesandbox.io/s/keen-bash-zq84w4?file=/Demo.tsx

@cherniavskii cherniavskii added support: question Community support but can be turned into an improvement customization: extend Logic customizability and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Sep 18, 2023
@spoorti22
Copy link
Author

Thanks @cherniavskii

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! customization: extend Logic customizability support: question Community support but can be turned into an improvement
Projects
None yet
Development

No branches or pull requests

3 participants