How to handle page break comes unexpectedly
-
This post is deleted!
-
I am not sure I get it, please share a playgound demo to clarify things.
You can use css to avoid page breaks inside an element
https://developer.mozilla.org/en-US/docs/Web/CSS/page-break-insideYou can also use css to intentionally add page break before/after specific element
https://developer.mozilla.org/en-US/docs/Web/CSS/break-before
-
This post is deleted!
-
There is likely no magic css that would let you add specific style at the end of every page.
You can try using tfoot
https://playground.jsreport.net/w/anon/Tuer457BOr merge that line using pdf utils. Like you would be merging a footer.
https://playground.jsreport.net/w/admin/kMI4FBmw
-
This post is deleted!