I do a DB read, capture it into a loop and use the TCPDF to output it into a PDF. That works.
But my report is several pages long... basically all in a HTML table. I am trying to figure out best way to have my table headings print on every page. I can sort of hack it by adding
@media print {
.pagebreak { page-break-before: always; }
}
then in the output <div class="pagebreak">
If I were to guess, 12 rows fits to a page in my case nicely. Any suggestions on how to get table headings onto every page during PDF printing?
But my report is several pages long... basically all in a HTML table. I am trying to figure out best way to have my table headings print on every page. I can sort of hack it by adding
@media print {
.pagebreak { page-break-before: always; }
}
then in the output <div class="pagebreak">
If I were to guess, 12 rows fits to a page in my case nicely. Any suggestions on how to get table headings onto every page during PDF printing?