title: Adding a row to a table in PDF using iText
body: <p>What I'm getting in this code is a table with 8 columns and 3 rows.</p>
  
  <p>What should I do to get just 2 rows? And the 1st column in the 3 rows are empty, but the remaining cells are filled with "hi".</p>
  
  <h2>Code:</h2>
  
  <hr>
  
  <pre><code>PdfPTable table = new PdfPTable(8);
  
  PdfPCell cell;
  
  cell = new PdfPCell();
  cell.setRowspan(2);
  table.addCell(cell);
  
  for(int aw=0;aw&lt;8;aw++){
      table.addCell("hi");
  }
  </code></pre>