Table Header Repeat
Any Solution to repeat Header of HTML table in every page until reach end? i add this style to my html file,but not affect it `thead { display: table-header-group; display: table-row-group
}`
I have the same problem with "html-pdf": "^2.2.0". Table headers to do not repeat in subsequent pages when table flows to two or more pages.
Facing the same problem. Can anyone suggest any another option for the same. Thanks in advance.
I'm also struggling with this.
Same for me.
Same Issue here if anyone has solutions please tell me.
Same for me. Is any one found solution for this issue?
Same for me.
In document we have an option to add pageHeader or pageFooter id prefix. https://www.npmjs.com/package/html-pdf#footers-and-headers
I relized option thead { display: table-header-group; display: table-row-group only work if you don't use pdf-html library
Try this, but you need to recustomize tabe header in thead because is not have same style with tbody
Example
<thead id="pageHeader"> <tr><td><br/></td></tr> <tr><td><br/></td></tr> <tr><td></td></tr> <tr> <th>ID</th> <th>Name</th> <th>Mail</th> <th>Date</th> </tr> </thead> <!-- <tfoot> <tr><td>notes</td></tr> </tfoot> --> <tbody> <!-- Content --> </tbody>
the result

Hope this help !!!
How can we adjust the header possition as we needed on all the pages????
Please give a solution if any one solve this issue Thanks
Also need any solution for this '-'
Casi estamos en 2023 y todavía no hay solución :'v