Click or drag to resize

Repeat HTML Table Header on Each PDF Page

The converter can be instructed to repeat the head of a HTML table on each PDF page where this table is rendered using the display: table-header-group style for the thead element of a HTML table.

You can repeat the table head of any HTML table having a thead element if you define the following CSS style in your document:

XML
thead {display: table-header-group;}

This feature is useful for long HTML tables spanning on many PDF pages such that the reader of the document can always know to which column belongs the data in a PDF page. The WinForms_RepeatTableHeadOnEachPage sample contains a complete example for this feature. You can have anything in the repeated table head, from text and images to any other HTML code.