'Laravel Dompdf table page break

I have been updated the Laravel Dompdf to the latest version. My table is too long, that's why the will page break. But I want to keep the table border before the page break. Is that any solution?

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source