Dataframe Click

I am using a dataframe to display data. I want to store the value of a certain column of the row clicked by the user to a variable. Is there a way I can achieve this

Hey @gkakde,

Unfortunately, cell selection isnโ€™t supported by st.data_editor right now, but the team is working on implementing row selection (and thereโ€™s a workaround for implementing row selection here) โ€“ would that solve your use case, or are you specifically looking to select a single cell?

Thereโ€™s also an open feature request for cell selection here โ€“ please feel free to upvote it / add your thoughts if youโ€™d like it to be prioritized.

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