Disable Column Drag and Drop in data_editor and dataframe #11222
Labels
feature:st.data_editor
feature:st.dataframe
type:enhancement
Requests for feature enhancements or new features
Checklist
Summary
A feature was added for Issue #8796 that allowed the rearranging of columns in st.dataframe and st.data_editor. This feature is useful, but not always wanted, and I would like the ability to lock the order of columns.
Why?
Sometimes you don't want users to be able to reorder columns.
How?
add a parameter to st.dataframe and st.data_editor called "lock_columns" that allows you to lock all columns. Bonus points if you can lock only pinned columns as well.
Additional Context
No response
The text was updated successfully, but these errors were encountered: