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] Initial state width does not work on grouped columns #16330

Closed
vmichailidisdev opened this issue Jan 24, 2025 · 2 comments
Closed
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Column groups Related to the data grid Column groups feature support: commercial Support request from paid users support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/

Comments

@vmichailidisdev
Copy link

vmichailidisdev commented Jan 24, 2025

Steps to reproduce

Steps:

  1. Open this link to the demo
  2. Observe that the lastName column width is not affected by initialState.columns.dimensions.lastName

Current behavior

lastName column width is not affected by initialState.columns.dimensions.lastName when having grouped columns

Expected behavior

lastName column width should be affected by initialState.columns.dimensions.lastName when having grouped columns

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
  Binaries:
    Node: 22.9.0 - ~/.nvm/versions/node/v22.9.0/bin/node
    npm: 10.8.3 - ~/.nvm/versions/node/v22.9.0/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: 131.0.6778.108
  npmPackages:
    @emotion/react: ^11.13.3 => 11.13.3 
    @emotion/styled: ^11.13.0 => 11.13.0 
    @mui/core-downloads-tracker:  6.1.7 
    @mui/icons-material: ^6.1.7 => 6.1.7 
    @mui/material: ^6.1.7 => 6.1.7 
    @mui/private-theming:  6.1.7 
    @mui/styled-engine:  6.1.7 
    @mui/system:  6.1.7 
    @mui/types:  7.2.19 
    @mui/utils:  6.1.7 
    @mui/x-data-grid:  7.22.2 
    @mui/x-data-grid-premium: ^7.18.0 => 7.22.2 
    @mui/x-data-grid-pro:  7.22.2 
    @mui/x-date-pickers:  7.22.2 
    @mui/x-date-pickers-pro: ^7.22.2 => 7.22.2 
    @mui/x-internals:  7.21.0 
    @mui/x-license:  7.21.0 
    @types/react: ^18.3.3 => 18.3.3 
    react: ^18.3.1 => 18.3.1 
    react-dom: ^18.3.1 => 18.3.1 
    typescript: ^5.5.4 => 5.5.4 

Search keywords: grouped columns, initial width

Order ID: 94505

@vmichailidisdev vmichailidisdev added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 24, 2025
@github-actions github-actions bot added the component: data grid This is the name of the generic UI component, not the React module! label Jan 24, 2025
@michelengelen michelengelen added support: commercial Support request from paid users feature: Column groups Related to the data grid Column groups feature support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/ labels Jan 27, 2025
@michelengelen
Copy link
Member

Hey @vmichailidisdev ... it works for me ... is this happening only in your app? or in the sandbox as well?

@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 Jan 27, 2025
@michelengelen michelengelen changed the title Initial state width does not work on grouped columns [data grid] Initial state width does not work on grouped columns Jan 27, 2025
Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@vmichailidisdev 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.

@github-actions github-actions bot removed the status: waiting for author Issue with insufficient information label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Column groups Related to the data grid Column groups feature support: commercial Support request from paid users support: premium standard Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
Projects
None yet
Development

No branches or pull requests

2 participants