i use vaadin7.5.9,when grid no data and HeightMode is ROW, when the setHeig

Grid grid = new Grid();
grid.addColumn("a");//add a column, but not add data
grid.setHeightByRows(1);//the height is not exactly row height

when grid have some data, The height of a row is 38px,
but when grid no data, The height of a row smaill than 38px. it seem like 20px
and i can not use the method setHeight, so i can not control the height of my grid when grid init.


The caption cuts off so I’m not sure I got all the relevant points, but you could try to give your Grid a min-height through css/scss:

  .v-grid {
    min-height: 76px;

the value of number 1, is multivariate