[DataGrid] Problem between features pinnedColumns and column grouping #8791
Labels
component: data grid
This is the name of the generic UI component, not the React module!
plan: Pro
Impact at least one Pro user
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/zen-chandrasekhar-2tfskp?fontsize=14&hidenavigation=1&theme=dark
Steps:
Additionally you'll also get the problem if you try to pin the column via the the column menu and with no state initiation
Current behavior 😯
When pinning to the left a single column from the utmost left column group, the column header is considered as fully pinned and hides the remaining(s) column headers of the group.
Those columns arent accessible and can't be pinned/sort/filtered.
Expected behavior 🤔
The grouping is split by the pinning just like pinning from a column group that comes from the "middle of the table"
Context 🔦
I have a datagrid displaying many columns in order to facilitate the navigation, we used column grouping to hide/show some column blocks. The basic info is pinned to the left but the user can define his own setting.
So if he unpins a column that he finds less relevant he cannot see it anymore or change its status.
Your environment 🌎
npx @mui/envinfo
Order ID or Support key 💳 (optional)
42922
The text was updated successfully, but these errors were encountered: