Warm tip: This article is reproduced from stackoverflow.com, please click
coldfusion page-break pdf

Coldfusion : How to include HTML table headers on new page when using cfdocument?

发布于 2020-04-08 09:24:30

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?

Questioner
blarg
Viewed
118
2017-05-23 18:27

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.