Skip to content

[data grid] columnsManagementRow style override slot not working #18403

@brandongit2

Description

@brandongit2

Steps to reproduce

Steps:

  1. Open this link to live example: https://codesandbox.io/p/sandbox/eloquent-mirzakhani-5hd5xp
  2. Click the column header menu
  3. Click on "Manage columns"

Current behavior

The items in the column management menu should have red backgrounds (indicating the styleOverrides worked)

Expected behavior

The items in the column management menu do not have red backgrounds.

See comments in index.tsx in the CodeSandbox.

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: macOS 15.5
  Binaries:
    Node: 22.14.0 - ~/.asdf/installs/nodejs/22.14.0/bin/node
    npm: 10.9.2 - ~/.asdf/installs/nodejs/22.14.0/bin/npm
    pnpm: 9.9.0 - ~/.asdf/installs/nodejs/22.14.0/bin/pnpm
  Browsers:
    Chrome: 137.0.7151.104
    Edge: Not Found
    Safari: 18.5
  npmPackages:
    @emotion/react: ~11.14.0 => 11.14.0
    @emotion/styled: ~11.14.0 => 11.14.0
    @mui/icons-material: ~7.1.1 => 7.1.1
    @mui/lab: 7.0.0-beta.13 => 7.0.0-beta.13
    @mui/material: ~7.1.1 => 7.1.1
    @mui/system: ~7.1.1 => 7.1.1
    @mui/utils: ~7.1.1 => 7.1.1
    @mui/x-data-grid-premium: ~8.5.2 => 8.5.2
    @mui/x-license: ~8.5.2 => 8.5.2
    @mui/x-tree-view-pro: ~8.5.0 => 8.5.0
    @types/react: ~19.1.6 => 19.1.6
    react: ~19.1.0 => 19.1.0
    react-dom: ~19.1.0 => 19.1.0
    typescript: catalog:default => 5.8.2

Search keywords: columnsManagementRow,style override,styleOverrides

Order ID: 101098

Metadata

Metadata

Assignees

No one assigned

    Labels

    customization: cssDesign CSS customizability.good first issueGreat for first contributions. Enable to learn the contribution process.scope: data gridChanges related to the data grid.support: premium standardSupport request from a Premium standard plan user. https://mui.com/legal/technical-support-sla.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions