Check out example codes for "wkhtmltopdf remove thead repeating". It will help you in understanding the concepts better.

Code Example 1

table { page-break-after:auto }
tr    { page-break-inside:avoid; page-break-after:auto }
td    { page-break-inside:avoid; page-break-after:auto }
thead { display: table-row-group; }
tfoot { display:table-footer-group }

Learn ReactJs, React Native from akashmittal.com