Table header repetition
In our PDF reports we're having an issue with repeating table headers. Our content of the page is dynamic, so we don't know how much content the page itself is taking. As a consequence, tables being placed below some dynamic content might be split over multiple pages (which is what we want). However, the issue is when the first 'actual data'
trdoesn't fit on the first page, but the
theadis still being rendered, looking very silly. Is there any solution to prevent the rending of the
thead. We can't do any calculations based on the content, since it's dynamic.
For an example:
hi! i'm not sure if it works in all the cases (when it is more content) but you can try this https://playground.jsreport.net/w/anon/a_vSbroT
Yes! That solved the issue, thank you.
@bjrmatos page-break-inside: avoid; helps to not break the content in half, but what if I have to repeat some table header on every page and without breaking the content of dynamic data