ArthurHub / ArthurHub/HTML-Renderer

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

Aperta
#193 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
C#
Stelle
1.4k
Fork
550
Merge medio
14g 9h
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.