Preserve row selection on page reload & restore in multipage app?

Hi,

I am trying the multipage method. On the first page I have an ag-grid component. On selecting a row I display further information. If I navigate to another page (actually there is a button and code which will transfer selected data to another page) and come back, the first page has been rerun and the table is back to an unselected state.

I’d like to capture the selected row and restore it - using either st.session_state or my own state machine.

Thank you so much.

2 Likes