Vaadin 8+ how to fix Grid Height in Vertical Layout

Hi,

Vaadin 8+,

How to fix Grid height specific to remaining height in percentage in vertical layout .

Grid height is not increasing out of layout…please help.

If you want to share the space of the layout between different components in different ratios, you need to use
setExpandRatio(…)
method of the layout. See more in API specs:
https://vaadin.com/download/release/8.1/8.1.7/docs/api/com/vaadin/ui/AbstractOrderedLayout.html#setExpandRatio-com.vaadin.ui.Component-float-

thanks I fixed it