I have a one-column table tied to a climate dropdown (hot, cold, all). Let’s say I choose “all” in the dropdown and then click on row zero (TEXAS) from the table.
|STATE
------------
0 | TEXAS
1 | ALASKA
Then I change the dropdown to “cold”.
Given that the “selected_rows” attribute of the table == 0, now the row that is AUTOMATICALLY selected is Alaska, because Texas doesn’t exist as a “cold” option.
|STATE
------------
0 | ALASKA
How can I deactivate this default behavior so that IF dropdown/callback is activated, the “selected_rows” becomes None and no row is selected until a user chooses to select a new one?