ArthurHub / ArthurHub/HTML-Renderer

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

Open
#193 3 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
1.4k
Forks
550
Avg merge
14d 9h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.