loading...

Discussion on: An easy way to create a customize dynamic table in react js

Collapse
abdulbasit313 profile image
Abdul Basit Author

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

Collapse
aashiqincode profile image
Aashiq Ahmed M

Yes , in the same implementation of you, can you just start the basics

Thread Thread
abdulbasit313 profile image
Abdul Basit Author

this repo may help github.com/AbdulBasit313/React-Typ... instead of tr I am using list here.

Thread Thread
aashiqincode profile image
Aashiq Ahmed M

It's cool btw, but my case is to just edit the tr on a button click and update the state

Thread Thread
abdulbasit313 profile image
Abdul Basit Author

What do you want to happen on clicking button? where do you want to write edit data?

Thread Thread
aashiqincode profile image
Aashiq Ahmed M

In the td itself