php - How to disable header repeat in new page mpdf library?

Solution:

Do not use the <thead> element, use only simple table row with <th> cells.

<table>
    <tr>
      <th>#</th>
      <th>First</th>
      <th>Last</th>
      <th>Handle</th>
    </tr>
  <tbody>
....
</table>

There is no other way to achieve this in mPDF.

Answer

Solution:

vendor\mpdf\mpdf\src\Tag\THead.php
vendor\mpdf\mpdf\src\Tag\TFoot.php

$this->mpdf->tablethead = 1; to --> $this->mpdf->tablethead = 0;

$this->mpdf->tabletfoot = 1; to --> $this->mpdf->tabletfoot = 0;

Source