Marking some columns as NOT editable in st.experimental_data_editor


I just got the chance to try out the new editable data feature for something I was previously using st_aggrid for. Making the switch was extremely smooth, the only thing I found missing was the ability to disable editing of some columns.

Would this be a feature you’d consider adding to the data editor? There are some cases where you’d want this feature, when wanting to show the user a column (like a primary key) but not letting the user edit it directly.

Thanks for adding editable dataframes to the core streamlit apis!

In the roadmap for Feb-April 2023.


Hope data editor will include the ability to configure column such that it cannot be edited.


Yep, that’s planned to be released with column config :slight_smile: