ArthurHub / HTML-Renderer

Cross framework (WinForms/WPF/PDF/Metro/Mono/etc.), Multipurpose (UI Controls / Image generation / PDF generation / etc.), 100% managed (C#), High performance HTML Rendering library.
https://htmlrenderer.codeplex.com/
BSD 3-Clause "New" or "Revised" License
1.27k stars 531 forks source link

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

Open DhwaniSaxena opened 2 years ago

DhwaniSaxena commented 2 years ago

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

kenPangTHC commented 2 years ago

Im having the same issue as well.

kevin-sears-datacom commented 1 year ago

I'm also having this issue

rblanca commented 11 months ago

idem