title: itextsharp: how to show the bottom line of a table with property HeaderRows=1 if border bottom of the row is not set?
body: <p>I use the last version of itextsharp.</p>
  
  <p>I use the property HeaderRows=1 so that if there is a pagebreak, the Header rows will appear again in the next page.</p>
  
  <p>Then we have the rows of the content with the border style without bottomline like this:</p>
  
  <pre><code> PdfPCell cell1 = null;
   cell1 = new PdfPCell(new Phrase(string.Format("{0}", c1), fn));
   cell1.Border = Rectangle.RIGHT_BORDER | Rectangle.LEFT_BORDER;
  </code></pre>
  
  <p>When there is a pagebreak, the line bottom of the table is not shown, which is not logical.
  Even if the content rows have no bottom / top border, the PdfPTable itself should have borders (it does not have in the code in fact).</p>
  
  <p>Any ideas? Thx.</p>