Hi, I am using st.dataframe for it’s row selections. I wonder if there is a setting to enable the entire row selection if any of the rows cells are selected. Thank you.
Not currently. There is a feature request for cell selections, though (which you could use to infer row selections). You can upvote the feature request to help the devs track interest.
opened 01:20PM - 02 Jun 23 UTC
type:enhancement
feature:st.dataframe
area:events
### Problem
In the official tutorial about [`st.dataframe`](https://docs.stream… lit.io/library/api-reference/data/st.dataframe#interactivity), it provides a well interactive UI, but it lacks one important feature: **indicate the selected `(row, column)`**.
For example:
```py
import streamlit as st
import pandas as pd
import numpy as np
df = pd.DataFrame(
np.random.randn(50, 20),
columns=('col %d' % i for i in range(20)))
st.dataframe(df)
```
We can change the last line to the following:
```py
row, column = st.dataframe(df)
```
And we can select a specific cell in the GUI:

Now we can do something with the selected row and/or column (in the above case: `row==4` and `column=="col 2"`). For example, we can show the detail info for the selected row.
---
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
