HTML-Renderer icon indicating copy to clipboard operation
HTML-Renderer copied to clipboard

HTMLRenderer.PDFSharp - thead style for repeating table header being ignored

Open DhwaniSaxena opened this issue 3 years ago • 3 comments

Hi,

I am using the method PdfGenerator.GeneratePdf method. I send the html and css to the function and it works okay and all the styles are being applied to the pdf except the thead style.

I have a table in the html section that overflows to the next page and I want the table columns to show on every page the rows are. I have tried to add a style in the css section : 'thead { display:table-header-group !important; }' and I have directly added the style in html as well but the table columns do not show up on the next page. It seems like that style is being ignored.

Is there a way to repeat the table columns while using GeneratePdf method? Any help would be appreciated!

Thanks

DhwaniSaxena avatar Mar 22 '22 22:03 DhwaniSaxena

Im having the same issue as well.

kenPangTHC avatar Jun 28 '22 04:06 kenPangTHC

I'm also having this issue

kevin-sears-datacom avatar Feb 21 '23 22:02 kevin-sears-datacom

idem

rblanca avatar Dec 09 '23 15:12 rblanca