I am attempting to generate a PDF from a razor page HTML page, using SelectPDF. This html is a report that is dynamically generated, and as such any given table can have arbitrary number of elements in them.
Is there a way to make sure that when a table contains too many rows to fit on one page, that the table stops, inserts the pagebreak, and then starts again on the next page, instead of just continuing as if the pagebreak wasn't there?
Effectively, how do I make pagebreaks in the middle of a table look pretty?