How to retrieve data using a checkbox?


I need to select the cell using a checkbox and get the selected cell to a different database. How can I do that?

Use set state. when checkbox current cell value is changed only when the checkbox is checked, add the parent’s group to the state, when the cell value is changed and checkbox is unchecked, delete the current element from the state. And update everything from the set state once you hit submit