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] Deleting a row throws "row id not found" error #16225

Open
dhruvin-kanani opened this issue Jan 17, 2025 · 1 comment
Open

[data grid] Deleting a row throws "row id not found" error #16225

dhruvin-kanani opened this issue Jan 17, 2025 · 1 comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! status: waiting for author Issue with insufficient information support: pro standard Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/

Comments

@dhruvin-kanani
Copy link

dhruvin-kanani commented Jan 17, 2025

Steps to reproduce

Steps:

  1. Open this link in your browser
  2. Open the console to check error
  3. spam the delete button

Current behavior

As you can see in this video if i press delete button instantaneously then i'm getting "No row with id xxxxxxxxxx found"

20250117-1256-27.1644705.mp4

Code: https://stackblitz.com/run?file=Demo.js

Expected behavior

if i delete row instantaneously it should not give error

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: error on click of delete icon

Order ID: 91701

@dhruvin-kanani dhruvin-kanani added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 17, 2025
@github-actions github-actions bot added component: data grid This is the name of the generic UI component, not the React module! support: pro standard Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/ labels Jan 17, 2025
@michelengelen
Copy link
Member

I cannot reproduce the issue you reported.

Also could you please share a link to the code you used? The one you provided does not work.

@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 17, 2025
@michelengelen michelengelen changed the title Datagrid throws error no row with id xxxxxxxxxxxxxx found on delete button click [data grid] Deleting a row throws "row id not found" error Jan 17, 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! status: waiting for author Issue with insufficient information 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