Whenever I include the following code snippet in my primeNG table:
<tr>
<td>
<div></div>
<div style="page-break-before:always; background-color: blue"></div>
</td>
</tr>
I added background-color:blue
to see the outcome, but it turned out very strange and I'm unable to fix it. I have spent around 1-2 weeks trying to solve this issue without success. I have tried multiple examples and asked various questions, but nothing has worked so far. Hopefully someone can provide some assistance.
Here is an example of the problem:
https://i.sstatic.net/za9Cn.png
Why am I experiencing a "double" page break and why is the blue color covering the entire page?