Is there a `stretchV` option?

I’d like HoT to match the size of it’s parent (which is a resizeable component). For this purpose, once a table was insterted, if rows do not fill the content, i want the cells to grow in height proportionally so it matches parent height.

I want to know if such a feature exists or do I need to calculate all heights on the fly and pass them as array in rowHeights?

Hi @andrei.gheorghiu

Handsontable works on the fixed values (pixels) you can also expand it flexible to the parent horizontally via stretchH option.

Hi Aleksandra.

I am interested in a similar feature as stetchH, but on vertical. Please confirm this is only possible by calculating and applying row heights dynamically and HoT does not have anything close or similar.

Yes Andrei,

the only way to have a fluid height for the Handsontable is to recalculate it’s height via height option inside the updateSettings method each time a parent changes.

Thank you, Aleksandra.

This thread could be closed.

Ok. I am closing the topic.