# How to adjust row heights in a table

**URL:** <https://forum.wixstudio.com/t/how-to-adjust-row-heights-in-a-table/41523>\
**Category:** Ask the community\
**Tags:** design\
**Created:** [June 1, 2021, 1:15am UTC](https://forum.wixstudio.com/t/how-to-adjust-row-heights-in-a-table/41523 "2021-06-01T01:15:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikkukan2017](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/mikkukan2017/32/8401_2.png) [@mikkukan2017](https://forum.wixstudio.com/u/mikkukan2017)\
**Post date:** [June 1, 2021, 1:15am UTC](https://forum.wixstudio.com/t/how-to-adjust-row-heights-in-a-table/41523/1 "2021-06-01T01:15:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [June 1, 2021, 9:18pm UTC](https://forum.wixstudio.com/t/how-to-adjust-row-heights-in-a-table/41523/2 "2021-06-01T21:18:46Z")

</div>

You will have to break your TEXT by code into peaces.  
This is the only way i know, how you could solve it.

1. You set a row-height for example 100 or whatever.
2. You set the smallest text-size (already done by you.
3. 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. 😅
