-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Immutable data: failed on update #3590
Comments
let me know, if you need more details |
hi :) you can read more here: https://www.ag-grid.com/javascript-grid-data-update/ |
Hi @benhodeda has provided the answer here - thanks for that |
This answer did not resolve the issue for me. We are using the
I have already had the |
I had the same problem, I stopped using immer for my state. And used good old fashion updates |
If you have find the solution then pls reply |
I ran into this problem and found that in my case it was due to immer data passed as params to custom CellEditors. It looks like grid uses the default change tracking on the props/params to see if the custom components needed to refresh hence causing the error. |
Also, if you are using |
I applied immutable data and getRowNodeId. This is working fine. But if the same name in the first column automattically created one row. Why is happening?What is the reason? Anybody can help me.. |
Providing a Reproducible Scenario
Accepted reproducible scenarios are:
Current behavior
Got error:
Expected behavior
detection changes mechanism should not mutate original data, like this
Please tell us about your environment:
ag-Grid version: 22.1.1
ag-Grid-react version: 22.1.1
Browser: Google Chrome 79.0.3945.88
Language: TypeScript 3.5
The text was updated successfully, but these errors were encountered: