title: How to set Row height dynamically in vaadin 7 Grid?
body: <p>I'm creating a vaadin grid with three columns of which one column is having HTML contents. HTML data can be in multiple lines. By default only first line of HTML Data is getting displayed in the Grid.</p>
  
  <p>Below is my code</p>
  
  <pre><code>    Grid grid = new Grid();
      grid.setColumns("C1","C2","C3");
      grid.getColumn("C1").setHeaderCaption("Column 1");
      grid.getColumn("C2").setHeaderCaption("Column 2");
      grid.getColumn("C3").setHeaderCaption("Column 3");
      grid.getColumn("C2").setRenderer(new HtmlRenderer());
  
      grid.addRow("text1","&lt;p&gt;Line 1 Data&lt;/p&gt;&lt;p&gt;Line 2 Data&lt;/p&gt;","data1");
      grid.addRow("text2","&lt;table&gt;&lt;tr&gt;&lt;th&gt;Month&lt;/th&gt;&lt;th&gt;Savings&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;January&lt;/td&gt;&lt;td&gt;$100&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;","data2");
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/dBSgF.png" rel="nofollow noreferrer">And the grid looks like this</a></p>
  
  <p>How to set the height of rows dynamically based on height of the HTML Data?</p>
  
  <p>I'm using vaadin 7</p>