It depends on your approach. How do you want to edit? Do you have input fields for edit row data? I mean the same input fields which will be used to add and edit data, and the second approach is to convert the same row's td into input field
Yes , in the same implementation of you, can you just start the basics
this repo may help github.com/AbdulBasit313/React-Typ... instead of tr I am using list here.
tr
It's cool btw, but my case is to just edit the tr on a button click and update the state
What do you want to happen on clicking button? where do you want to write edit data?
In the td itself
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It depends on your approach. How do you want to edit? Do you have input fields for edit row data? I mean the same input fields which will be used to add and edit data, and the second approach is to convert the same row's td into input field
Yes , in the same implementation of you, can you just start the basics
this repo may help github.com/AbdulBasit313/React-Typ... instead of
tr
I am using list here.It's cool btw, but my case is to just edit the tr on a button click and update the state
What do you want to happen on clicking button? where do you want to write edit data?
In the td itself