Dynamic height of a grid in module polymer

hello,

I have a problem using the vaadin-grid in my cuba app from polymer module!

I try to reproduce this example x-dynamic-height-example form vaadin-grid – Assigning Data

but I get;

I need a grid with size height dynamic according to the rows. . . thank a lot!!!

Did you just try setting height:auto?

    <style>
      vaadin-grid {
        height: auto;
      }
   </style>