PablocFonseca / streamlit-aggrid

Implementation of Ag-Grid component for Streamlit
https://pypi.org/project/streamlit-aggrid/
MIT License
992 stars 190 forks source link

Different row height depending on the length of cell content #247

Open arsentievalex opened 5 months ago

arsentievalex commented 5 months ago

Is it possible to wrap longer text without splitting words?

Reference: https://www.ag-grid.com/javascript-data-grid/row-height/

Thank you!

arsentievalex commented 5 months ago

I did a little digging and it seems that the original css style has to be updated with the following:

ag-cell-wrap-text{white-space:normal;word-break:break-word}

While it works locally, I have no idea how to implement it for a deployed web app.