I can't seem to get undefined height to work with Grid

I’ve tried both grid.setHeighUndefined() and setting the height to -1px manually (both should be equal) however the grid seems to have a minimum height where the empty part of the grid is empty (for example let’s say I only have 3 rows of data). Any idea how to make the height of the rows?

Hi Stephan,

You could try using:

grid.setHeightMode(HeightMode.UNDEFINED); Hope this helps,


This might be what you want to do.

I actually ended up doing:


The only thing is that the last row is a bit truncated.