You could use this approach on a scenario where you have some view open on top of the table like a drawer, modal and would like to keep the row marked as "selected".