How to detect a single cell selection on the st.dataframe component

Hi all,

I like the dataframe component a lot, but I wonder how to specify that
I want to detect only single cell selections. I’m doing it like this

    df = st.dataframe(
        get_data_frame(),
        on_select=selected,
        hide_index=True,
        key="df",
        selection_mode=["single-column", "single-row"],
        )

but this seems not to work.

Single cell selection events aren’t yet supported, but they are on the radar. You can upvote the GitHub issue to let our devs know it’s something to prioritize: