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] Error: No row with id ... found. Caused when using getRowClassName #17022

Open
Abrham007 opened this issue Mar 18, 2025 · 5 comments
Assignees
Labels
bug 🐛 Something doesn't work support: pro standard Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/

Comments

@Abrham007
Copy link

Abrham007 commented Mar 18, 2025

Steps to reproduce

Steps:

  1. Open this link which leads to a demo app to reproduce this bug: (required)
  2. Boot up the demo app and follow the steps. should be pretty straight forward

Current behavior

Basically if you stress the datagridpro component for example rereander it multple times quickly and you happen to be using the getRowClassName then you get an odd error Error: No row with id #673958c6-53fc-4e41-906d-f669b8eba6b6 found.

Expected behavior

no error

Context

No response

Your environment

npx @mui/envinfo

System:
OS: macOS 15.1
Binaries:
Node: 20.18.1 - ~/.nvm/versions/node/v20.18.1/bin/node
npm: 10.8.2 - ~/.nvm/versions/node/v20.18.1/bin/npm
pnpm: 10.2.1 - ~/.nvm/versions/node/v20.18.1/bin/pnpm
Browsers:
Chrome: 134.0.6998.89
Edge: Not Found
Safari: 18.1
npmPackages:
@emotion/react: ^11.14.0 => 11.14.0
@emotion/styled: ^11.14.0 => 11.14.0
@mui/core-downloads-tracker: 6.4.8
@mui/material: 6.4.3 => 6.4.3
@mui/material-nextjs: 6.4.3 => 6.4.3
@mui/private-theming: 6.4.8
@mui/styled-engine: 6.4.8
@mui/system: 6.4.8
@mui/types: 7.2.24
@mui/utils: 6.4.8
@mui/x-data-grid: 7.27.0
@mui/x-data-grid-pro: 7.27.0 => 7.27.0
@mui/x-date-pickers: 7.27.0
@mui/x-date-pickers-pro: 7.27.0 => 7.27.0
@mui/x-internals: 7.26.0
@mui/x-license: 7.26.0
@types/react: 18.3.12 => 18.3.12
react: 18.3.1 => 18.3.1
react-dom: 18.3.1 => 18.3.1

Search keywords: datagrid getRowClassName

Order ID: 108892

@Abrham007 Abrham007 added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 18, 2025
@github-actions github-actions bot added the support: pro standard Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/ label Mar 18, 2025
@arminmeh
Copy link
Contributor

Is this the same issue as #16638?

@Abrham007
Copy link
Author

it is actually similar with this one which is now closed b/c lack a reproducable example which I tried to provide with this issue.

@arminmeh
Copy link
Contributor

@Abrham007 thanks
I will look into it

@arminmeh arminmeh removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Mar 19, 2025
@arminmeh arminmeh self-assigned this Mar 19, 2025
@arminmeh
Copy link
Contributor

@Abrham007 I could reproduce the issue, but I also see that it is resolved in 7.28.0
Can you update and confirm that you don't see the error anymore?

@Abrham007
Copy link
Author

Abrham007 commented Mar 19, 2025

Well unfortunately I kind of still see the error. This bug can get very inconsistent sometimes

Image

@github-actions github-actions bot added status: waiting for maintainer These issues haven't been looked at yet by a maintainer and removed status: waiting for author Issue with insufficient information labels Mar 19, 2025
@arminmeh arminmeh removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Mar 19, 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 support: pro standard Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/
Projects
None yet
Development

No branches or pull requests

2 participants