Wrap text columns in dataframe/data editor

Hi @Himanshu_Gupta

The width parameter for st.column_config.TextColumn accepts ”small”, ”medium” and ”large” as argument values. (See the Docs page for more details st.column_config.TextColumn - Streamlit Docs)

As for text wrapping in columns, can you see this relevant forum post for more details:

Hope this helps!

1 Like