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:
"It's on our roadmap" should be Retools slogan. Starting to get comical the number of times I hit a roadblock only to Google and be brought to a forum post where you're responding the same thing. It's like you don't even use your own product.
i've seen a different perspective: a ton of features and changes rolling out as a result of user feedback, and staff in the forums who actually use Retool. granted, we've joined relatively "late", so most of the feature requests from 2022 for example are already implemented for us.
Exactly what you did, commenting and upvoting helps the feature request being more noticeable. Also attending office hours and discussing the reasons behind the feature request adds more context to the retool team when they make a ticket for the feature.
Though I would post this here. I was using the solution provided by @SplinteredGlassSolutions until today when the HTML structure of the table component changed. This has happened a couple of times so I tried finding another solution based on property selectors. It is working well as of now and hopefully, it is a bit more permanent.