[Html2PdfConverter] Table Header don't display on the next pages

Forge Component
(55)
Published on 2018-10-30 by Guilherme Pereira
55 votes
Published on 2018-10-30 by Guilherme Pereira

In the older version, using OS 10

tr 
{
    page-break-inside:avoid!important;
}

and

table[cellSpacing]
{
    border-collapse:collapse!important;
}


thead { display: table-header-group }

tfoot { display: table-row-group }

works,

but in this new version, using OS11

these codes don't work. so it doesn't display the table header on the next page.

I also used the Other Args "--print-media-type" but nothing happens.


How are you loading the header?
I'm using the OtherArgs --header-html linktomyheader.outsystems.com

Here's a list of all arguments you can add:

https://wkhtmltopdf.org/usage/wkhtmltopdf.txt