Grid in 8.1.beta1 rowHeight with addComponentColumn

Hi.
I am testing the new version of the Grid component in version 8.1.beta1 and I have problems with row height.

The problem is exactly when I create a RadioButtonGroup with the method:

Grid.addComponentColumn (keyValue → {
RadioButtonGroup radio = new RadioButtonGroup <> (“Radio”);
radio.setItemCaptionGenerator (KeyValue :: getName);
radio.setDataProvider (dataProvider);
return radio;
});

It works correctly (you can see the attached image) but the height of the row does not adjust to the height of RatioButtonGroup component.

In order to do so, i would have to use the Grid.setRowHeight(); But doesnt ajust the height, and the value -1 does not work for me … does anyone know I would have to do?

Regards, and thank you very much
33118.png

You could try similar CSS trick as described here:

https://vaadin.com/forum#!/thread/15297878/15302575

Btw. your question was posted to wrong Category, this part of the Forum is for Core Elements questions.

Thank you
But I cant do what I want
If I don’t apply style I have: (image1)

With
.my-grid .v-grid-body .v-grid-cell { height: 150px;}
I have: (image2)

But I need: (image3)

(printer.pdf is a Button inside a HorizontalLayout)
I’ve tried a hundred things but I have not got it … do you know how I could do it?

Thanks again!!
33704.png
33705.png
33706.png

Latest V 8.1 builds have a programmatic method to fix the row height, for example:

grid.setRowHeight(100);

Try using that!