ArthurHub / ArthurHub/HTML-Renderer
HTMLRenderer.PDFSharp - thead style for repeating table header being ignored
- Linguagem predominante
- C#
- Estrelas
- 1.4k
- Forks
- 550
- Merge médio
- 14d 9h
- PRs com merge (30d)
- 1
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Comece reproduzindo o problema por meio de PdfGenerator.GeneratePdf com uma tabela HTML que se estenda por várias páginas e um thead usando display: table-header-group. Inspecione o caminho de renderização do PDF para verificar o tratamento dos estilos de thead e da paginação; considera-se concluído quando o cabeçalho da tabela se repetir em cada página.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- csharp, html
- Domínio
- tooling
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100