How to use react table with a checkbox so that if it is checked the complete row is selected and pushed/assigned to input fields #3290
Unanswered
khawarqureshi
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi, I want to make this table (fig2) in which there is a key and values API, I want to make this table with every checkbox in it so whenever there is one row/key is checked then the entire row will be checked and their name will be pushed/assigned to the input fields, similarly for the single checkbox. And if the checkbox is unchecked then the data will be removed.
Also, there is one check All checkbox which will select all the checkbox.
Is it possible to make this table by using the react-table package?
How this table can be made in react js by using a react-table package
Fig1 shows the API Response
Fig2 shows the table to be made
Beta Was this translation helpful? Give feedback.
All reactions