-
-
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] Apostrophe added to numbers on CSV export #13790
Comments
Hello @dorpe Thanks for reporting the issue. |
Hey @arminmeh |
This is weird. I can confirm that it also happens in Preview on Mac. It does look like a bug on our end. |
Hey, team, any estimation of when it will be fixed? |
This was introduced in #13115. Wouldn't always quoting the value instead of doing this check be better, as negative values and also values starting with e.g. |
License holder here asking the same. This bug has generated helpdesk issues for our team (so it's a production bug). This seems like it should be prioritized. |
hey @dorpe So, instead of
have
After that, exports should be generated as you expect. If the expectation is that the exception should be made in processing of the negative numbers even when |
Thank you, everyone. The issue has been resolved. |
Thanks for the fast response. If the change that I have posted does not work out for other people that have facing the same issue, feel free to re-open the issue with the additional info. |
@dorpe: 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. |
Please re-open. We do not have this setting and are experiencing the same issue. EDIT: I suspect the exact same change is causing this issue and that there are likely many undiscovered avenues to reach this bug. Please fix the root cause. |
@jonnylink |
Got it! Thank you for the clarification. |
Steps to reproduce
Steps:
Current behavior
When exporting to CSV, an apostrophe appears before any negative number in Excel. For example, -20 shows up as '-20. This issue occurs only for numbers with fewer than five digits.
Expected behavior
When exporting to CSV, the number should be exactly like the number in the frontend table.
Context
Export a table to CSV.
Your environment
npx @mui/envinfo
Search keywords: Apostrophe adds when export
Order ID: 90144
The text was updated successfully, but these errors were encountered: