-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] rowEditCommit event not firing when using component prop or imperative subscription #11887
Comments
Please provide a minimal reproduction test case with the latest version. This would help a lot 👷. A live example would be perfect. This codesandbox.io template may be a good starting point. You can find more codesandbox templates in our docs. Thank you! 🙇🏼 |
The issue has been inactive for 7 days and has been automatically closed. If you think that it has been incorrectly closed, please reopen it and provide missing information (if any) or continue the last discussion. |
Hi, sorry for the delay in replying! Here's my issue minimally reproduced in codesandbox using the material ui nextjs example project for js, which I'm using. Example shows component prop approach with |
Got it ... Apparently there is a bug with that event commit. As it seems it does not get fired when exiting row edit mode. |
@cherniavskii I might be mistaken, but this seems to be the revision that introduced the regression: fc1bed7 |
thanks @michelengelen 😃 Is there a workaround you can suggest in the meantime? |
Since you are not able to use the |
Looks like the @hartmatt You could handle the problem by using the brand new way to handle edited rows i.e. Closing the issue, feel free to comment or open a new one if there's a problem with the Thank you |
How did we do @hartmatt? |
thanks @MBilalShafi! |
The problem in depth
Hi, I'm having issues with the
rowEditCommit
event, which is not firing when changing a value in the data grid, when using either the component prop or the imperative subscription. Here's the relevant code:On the other hand,
rowEditStart
androwEditStop
events fire fine when entering and exiting edit mode, when using either the component props or imperative subscriptions. For context, I'm looking to share some current data grid state (totalSites
per country (row)) with other sibling components. Any help appreciated :)Your environment
Search keywords: rowEditCommit
Order ID: 81795
The text was updated successfully, but these errors were encountered: