Repeat Table Header (HTML2PDF)

My requirement is to repeat table header (if the table is spread across multiple pages), while generating PDF from HTML file.
I have tried with putting thead and with several styles as well but not getting the desired output.
Does anyone in this forum has the solutions to this?

This should be possible if you are generating PDF from XAML (rather than HTML). For example, check out Xaml2Pdf sample project (

With regards to HTML to PDF it would be probably fairly convoluted to customize pagination and to insert table headers.