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
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.