Some rows in my data collection have 6 ~ 10 lines of text while others only have 1 or 2 lines. However, after connecting the data base to the Wix table, it doesn’t automatically adjust the row height of each row. After I set the maximum row height to 100 in Layout (the only way I know of to make row height adjustment) it only displays up to 3 lines even with the smallest font p3!!! Is there any solution to this, or any other way to set the row height? I would prefer if there’s a way for automatic row height adjustment, or at the very least, allow me to set the row height of each row to display at least 6 ~ 7 lines of text.
Any help would be much appreciated.
You will have to break your TEXT by code into peaces.
This is the only way i know, how you could solve it.
- You set a row-height for example 100 or whatever.
- You set the smallest text-size (already done by you.
- You count your letters and find out at which place in text you have to make a break.
You code some CODE into your input-element.
I have done it some moths ago with a “Rich-Text-Editor”.
It was able to put 3-5-lines into 1-table-row (depending on the row-height).
But perhaps the better way would be to take a repeater and to use it as a table.
Adcvantage—> Responsible and you could also add some functionality, such as —> READ-MORE-BUTTON.
Or if you wan to go the real hard way. . . .
Create your own TABLE using an HTML-CODE inside an HTML-Component, or even design a Custom-Element. 