title: C# iText7 Remove certain header from table
body: <p>I want to remove certain header from created table.</p>
  
  <pre><code>Table table = new Table(2).SetWidth(iText.Layout.Properties.UnitValue.CreatePercentValue(100));
  Table headerTable1 = new Table(2).SetWidth(iText.Layout.Properties.UnitValue.CreatePercentValue(100));
  headerTable1.AddCell(new Cell().Add(new Paragraph("Test1")).SetWidth(iText.Layout.properties.UnitValue.CreatePercentValue(50)));
  headerTable1.AddCell(new Cell().Add(new Paragraph("Test2")).SetWidth(iText.Layout.properties.UnitValue.CreatePercentValue(50)));
  
  table.AddHeaderCell(new Cell(1,2).Add(headerTable1));
  
  Table headerTable2 = new Table(2).SetWidth(iText.Layout.Properties.UnitValue.CreatePercentValue(100));
  headerTable2.AddCell(new Cell().Add(new Paragraph("Test1")).SetWidth(iText.Layout.properties.UnitValue.CreatePercentValue(50)));
  headerTable2.AddCell(new Cell().Add(new Paragraph("Test2")).SetWidth(iText.Layout.properties.UnitValue.CreatePercentValue(50)));
  
  table.AddHeaderCell(new Cell(1,2).Add(headerTable2));
  
  Table headerTable3 = new Table(2).SetWidth(iText.Layout.Properties.UnitValue.CreatePercentValue(100));
  headerTable3.AddCell(new Cell().Add(new Paragraph("Test1")).SetWidth(iText.Layout.properties.UnitValue.CreatePercentValue(50)));
  headerTable3.AddCell(new Cell().Add(new Paragraph("Test2")).SetWidth(iText.Layout.properties.UnitValue.CreatePercentValue(50)));
  
  table.AddHeaderCell(new Cell(1,2).Add(headerTable3));
  
  {Add Multiple Cells to Table}
  </code></pre>
  
  <p>Once the height of table is bigger than PageSize.A4.GetHeight()(suppose we are using A4 Content), it automatically generates several pages and add above header.
  From second page, i want to remove headerTable2. How can i do it? Please help me. Thanks.</p>