This can be done for the contents of cells, but unfortunately not for the column titles. To get cell text to wrap within the column cells, there is a setting called 'Allow Overflow' inside the column settings:
For the headers if it is not possible how to decrease police size ? I tried to do it with a CSS script but did not manage to select the table with this script:
However and as you mention it is not working for column name. As my column names are a bit long , do you know if it is possible to add a n overhead line / kind of categories / Top level headers ?
Since this is the conversation that pops up with googling how to wrap text in Retool and is from 2021, I want to point out that the new way to do this is to select the column type as "Multiline Text" - not just Text or Auto - when looking at the column settings for a table. This will allow the row cell to show the entire content of the text in that column row.
As for showing the entire column name, I have not found another way other than click-and-drag to the desired column length.
Hey David! Thank you for the callout. I created an internal feature request to introduce the ability to wrap both column text and headers in the new table Will keep this thread updated!
Hey @maillme, thanks for bumping this! The new table should now support the Multiline String column type:
You can also set your table's Row height to Dynamic to fit all of your text:
Multiline columns still aren't supported at the moment. As a temporary workaround you might try something like the following custom CSS, replacing table1 with your table's id: