ArthurHub / ArthurHub/HTML-Renderer
HTMLRenderer.PDFSharp - thead style for repeating table header being ignored
- Lenguaje dominante
- C#
- Estrellas
- 1.4k
- Forks
- 550
- Merge medio
- 14 d 9 h
- PR fusionados (30 d)
- 1
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start by reproducing the issue through PdfGenerator.GeneratePdf with an HTML table spanning pages and a thead using display: table-header-group. Inspect the PDF rendering path for handling thead styles and pagination; done means the table header repeats on each page.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp, html
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100