Grid automatic sizing to parent Container

I wanted to know if there’s a (nice) way of configuring the Grid component that it displays as much rows as it can, depending on e.g. the parent container.

Little simpler: Normally you say “Please Grid show me 25 rows and scroll the overflow.” … You do that by

myGrid.setHeightByColumns(25); I would prefer “Please Grid expand es wide and high as you can (sizeFull) and display as many rows as possible and scroll the overflow.”

I couldn’t get the second way working… is there a possibility for this?

please ignore my post… i just figured out this is the default behaviour … no idea why i always used “HeightMode.ROW” …