I am trying to switch between a table with expanded rows and when a button is pressed, switching to row selection. When switching to row selection in this way, the select check