St.dataframe coodinates

Hi, if I use st.dataframe to view a data frame, and I click on a cell, is there a way to get the row and column coordinates of the clicked cell?

Eg. If I click on the 3rd row and 2nd column, can I get a return of values: 3, 2?

Use case: specifically change the data in a cell that a user clicks at run time.

Thanks in advance.

I think the AgGrid component will help you. GitHub - PablocFonseca/streamlit-aggrid: Implementation of Ag-Grid component for Streamlit

Yes, thanks @asehmi , was going through the same; yet to figure it out.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.