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

DataGrid with checkbox selection column widths break after exporting to Excel #13162

Closed
lwestenberg opened this issue May 16, 2024 · 1 comment
Labels
component: data grid This is the name of the generic UI component, not the React module!

Comments

@lwestenberg
Copy link

lwestenberg commented May 16, 2024

Steps to reproduce

Link to live example: https://mui.com/x/react-data-grid/export/#using-a-web-worker

Steps:

  1. Select a row with the checkbox
  2. Click Export -> Export to Excel

The (generated) row column widths are now completely gone:
mui-datagrid-export-broken

Current behavior

The (generated) row column widths are removed, the complete table row alignment becomes different

Expected behavior

The (generated) row column widths should stay the same, the alignments should stay the same

Context

not applicable

Your environment

npx @mui/envinfo
System:
    OS: macOS 14.2.1
  Binaries:
    Node: 21.7.2 - /opt/homebrew/bin/node
    npm: 10.5.0 - /opt/homebrew/bin/npm
    pnpm: 7.13.5 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 124.0.6367.208
    Edge: Not Found
    Safari: 17.2.1

I used Chrome and Safari to check for the issue

Search keywords: export, row selection, width, excel

Search keywords:

@lwestenberg lwestenberg added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 16, 2024
@lwestenberg lwestenberg closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
@lwestenberg
Copy link
Author

wrong repo

@github-actions github-actions bot removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 17, 2024
@zannager zannager added the component: data grid This is the name of the generic UI component, not the React module! label May 17, 2024
@zannager zannager transferred this issue from mui/material-ui May 17, 2024
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!
Projects
None yet
Development

No branches or pull requests

2 participants