I have encountered an issue with my report while using the print option in Chrome. I need to ensure that my headers are repeated on each page.
To structure my content properly, I have divided it as shown below and it is currently functioning correctly:
<table>
<thead>
<!-- Header Content (needs to repeat) -->
</thead>
<tbody>
<!-- Body Content -->
</tbody>
</table>
However, this method only works up to a certain height of the header. If the header exceeds a certain height, the repeating function stops working.
I noticed that changing the paper size from standard A4 to a larger size, like A3, allows the repeating header to work for the taller header. Conversely, if the repeating header is functional on A4 paper but the paper size is reduced to A5, the functionality is lost.
I am unable to determine the exact height at which the issue occurs, but it has affected both my live project and sample tests.
Please take a look at the samples provided and let me know if there is something missing or if any adjustments need to be made.
https://i.sstatic.net/e9xGu.png https://i.sstatic.net/fUrBU.png https://i.sstatic.net/BKYYo.png https://i.sstatic.net/wVnnu.png