Hi friends! I want to use st.column_config.MultiselectionColumn, but Streamlit currently only provides st.column_config.CheckboxColumn and st.column_config.SelectboxColumn. Does anyone know a workaround or how I could implement a similar feature?
1 Like
I don’t know of a way to do it with a dataframe. You could always combine row selections and an external multiselect to accomplish the task. Otherwise, it’d need a custom component.
You can upvote the request to help the devs prioritize it:
opened 07:15PM - 24 Jul 24 UTC
type:enhancement
feature:st.column_config
### Checklist
- [X] I have searched the [existing issues](https://github.com/st… reamlit/streamlit/issues) for similar feature requests.
- [X] I added a descriptive title and summary to this issue.
### Summary
Column configurations (st.column_config) for st.data_editor only has a configuration for a select box (like st.selectbox) where the user can select one choice from the options. We have a use-case where it would be helpful in st.data_editor for the user to be able to select multiple choices from the options like st.multiselect.
### Why?
This is a data entry/editing interface where the user can select multiple "tags" for a single row of data.
### How?
Logical syntax would be st.column_config.MultiSelect, and return a Python list in the st.data_editor multi-select column.
### Additional Context
_No response_
opened 06:20AM - 19 Jun 23 UTC
type:enhancement
feature:st.data_editor
feature:st.column_config
### Problem
I absolutely love the new data_editor component. However, as the … docs state, the column type ListColumn is currently implemented as read only in the streamlit data_editor component. It would be very helpful to make this column editable as well. This is probably already planned, but I wasn't able to find it on the road map.
### Solution
**MVP:** Add multiselect input to the ListColumn
---
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.**
There is a draft PR for the feature, but I don’t know how it’s currently scheduled for development (or not).
streamlit:develop ← streamlit:feature/multiselect-column-2
opened 09:06PM - 06 Aug 24 UTC
## Describe your changes
Adds a new column type - `st.column_config.MultiSele… ctColumn` - that allows a selection of multiple predefined options.
- Demo: https://multi-select-column-prototype.streamlit.app
<img width="433" alt="image" src="https://github.com/streamlit/streamlit/assets/103002573/4c901f8f-1119-4fbc-9681-924b1d7f19cf">
## GitHub Issue Link (if applicable)
- https://github.com/streamlit/streamlit/issues/6857
- https://github.com/streamlit/streamlit/issues/7696
- https://github.com/streamlit/streamlit/issues/8310
- https://github.com/streamlit/streamlit/issues/6795
- https://github.com/streamlit/streamlit/issues/9137
## Testing Plan
- Explanation of why no additional tests are needed
- Unit Tests (JS and/or Python)
- E2E Tests
- Any manual testing needed?
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
system
Closed
May 17, 2025, 12:40am
4
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.