Relative Content

Tag Archive for javascriptrcheckboxshinyreactable

R Reactable unbind checkboxInput after click on actionButton

I have a reactable with checkboxes in Shiny. For my reproducible example I took the iris dataset. On the table on the left side you can click on the checkboxes. On the right side it is shown simultaneously whether a checkbox is clicked. This works quite well so far (column select1 is set to TRUE). The problem is that after selecting another species as input and clicking on the update button, the content of right table is updated, but not the output-column of the checkboxes. The selected input of the checkboxes remains the same after the click on the update-button.
However, I would like to unbind all previous manual checkbox entries by clicking on the update button and set them back to the original value (=FALSE).