I have a table on a page with data generated from a query. This makes it unpredictable how many rows will be generated.
When using cfdocument to output the page as a PDF the table is often cut in two on the page break.
Is there any easy way to include the table labels on the new page for the purpose of clarity?
I've had to work with cfdocument quite a bit and making it usable in certain situations can be a real bear.
I believe the answer to your question can be found on this page since you know how many records will be on each page (static row height): COLDFUSION: cfdocument and forcing a pagebreak
Here are some other questions I've posted and worked through concerning cfdocument, hope they help.
scale PDF to single page
cfdocument prevent page breaks mid-row
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With