Deleting a very last row throws "Cannot read properties of undefined (reading 'id')" #15231
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
Steps to reproduce
Link to live example: https://mui.com/x/react-data-grid/editing/#full-featured-crud (This error is reproducible in the official documentation demo)
Steps:
Current behavior
Deleting the very last row throws an exception.
Expected behavior
It should remove the last row without throwing any exception. It should show the data grid without any rows.
Context
No response
Your environment
No response
Search keywords: Deletion, Deleting a row, Actions type
The text was updated successfully, but these errors were encountered: