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

1 Like

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.