Editable rows with togglable "Edit" #4536
Replies: 1 comment
-
Solved this issue myself: So, what I first tried was using the Let's say you have a table with 6 rows (index Now, you'll also have to add a code to re-toggle the selected state upon deletion of any of the rows, as if you get rid of row The real bug comes when deleting row Solution
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have somewhat generic order items table, e.g. quantity, part number, etc. However, I want to not have every item editable as per the TanStack example (e.g. like a spreadsheet), but a toggleable edit state where fields will turn into pre-filled input fields. I already have a custom editable input component which takes an
editable
prop that would of course toggle text v. input box.The "Edit" button is in a display column on the far right of the table, and, while it looks great, I'm unsure of two things:
Appreciate the help, thanks.
Beta Was this translation helpful? Give feedback.
All reactions