Who knows how to move the table header to the next page when generating a PDF?

1 answer 1

<table> <thead> <!-- Вот всё, что в thead, и будет использоваться в качестве шапки таблицы на каждой странице --> <tr> <td>Столбец 1</td> <td>Столбец 2</td> </tr> </thead> <tbody> <tr> <td>Данные</td> <td>Данные</td> </tr> ... </tbody> </table>