Update row in Datagrid #28704
Unanswered
garybushey
asked this question in
Q&A
Replies: 1 comment
-
I assume your
Then you could update a cell in the ruleTemplates array by constructing a new array with one element replaced, i.e., something like:
See also: https://react.dev/learn/updating-arrays-in-state#replacing-items-in-an-array Does that help? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This should be easy but I cannot get this to work. I want to update a cell in my DataGrid (using Typescript). I have a variable called "ruleTemplates" that I have set to my DataGrid's "items" parameter. Information is loading just fine. What I want to do is update the "status" field in one row but I cannot seem to get it to work. I have tried updating but "ruleTemplates" but the UI doesn't show any updates. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions