TanStackT
TanStack2y ago
1 reply
inner-olive

Access edited data from another cell

Hey. I'm trying to follow the guide for creating a editable table and it works but I'm struggling to get it to work in my use case. I'm trying to add an edit button at the end of the row, when it's clicked it turns into a save button and the only field, let's say name, turns into a input. I enter a new value and click the save button and I want to access the updated value in the cell with the Save button to execute a mutation. I triend with row.original but that's no good.

Has anyone encountered that?
Was this page helpful?