-
-
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] apiRef
restoreState
and exportState
does not support the density
#4572
Comments
Do you mean it is not saved when using |
Yes, I meant it. Thanks |
Since the issue is missing key information, and has been inactive for 7 days, it has been automatically closed. |
Oops forgot to remove the label |
apiRef
restoreState
and exportState
does not support the density
Hello, @flaviendelangle, i have the same problem. Do you know when density will be supported in apiRef.current.exportState? Thank you :) |
Plus one. At the meantime, I'm using workaround (storing the user selected density separate from the rest of the datagrid state), but it would be great to have the support for it in the |
@joserodolfofreitas @m4theushw, I'm the only one notified so I'm adding you to the loop I'm not working on the DataGrid anymore, but the team will have a look 👍 |
Hi there, is there any news about it? An |
Hey, I'm joining to the support of density save in the state, would be great to have it |
Hello all, This issue is causing us pain at the moment, as our customers expect us to save their DataGrid preferences, but there is no way to do so with density specifically. Our order ID is 65425. In the end, we had to do the following ugly workaround:
We've spent hours looking for another way of doing this, but it was our only option. Like everyone else, we'd like to see density be properly supported in |
cc @cherniavskii |
We are in the exact same boat. We did purchase 4 licenses of data-grid-pro. Anything else you need from me to help move it to the top of the backlog? |
Running into this limitation now as well. The idea of doubling the number of saved states that we're managing so that each table can have a separate density state maintained is unappealing. Feels like a weird omission in an otherwise uniform and easily-managed table state system. |
I'll try and get a PR out with a fix on Monday |
@vakha30: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Duplicates
Latest version
Current behavior 😯
The density state is not saved. All other state is saved correctly
Expected behavior 🤔
No response
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
`npx @mui/envinfo`
Order ID 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: