Insert line breaks in st.dataframe's textColumn

I need to display a long json string in a st.dataframe column. The problem is that most of it is truncated by default and user has to double click on the cell to read the whole thing. I added line breaks to the string but it is still displayed in one line and is truncated. Is there a way to display the json string as a pre-formatted text that isn’t truncated?

Hi @AyushExel

There is a method for displaying pre-formatted text namely the st.text