How to repeat table header on each page of PDF using Coldfusion
Hi all,
Can anybody help me in resolving this issue. The details are mentioned below.
I am generating PDF using <cfdocument> tag of Cold Fusion.
I have a header and footer to be displayed on each page. I am rendering data in a table.
If rows in the table exceed a page , and continue on the next page , I want the table headers to be repeated on each of the page.
Example :
Currently this is happening:
Page Header
Sr No | Name | Occupation |
1 | A | A |
2 | B | B |
3 | C | C |
Page Footer : Page No 1
Page Header
4 | A | A |
5 | B | B |
6 | C | C |
Page Footer : Page No 2
--------------------------------------------------------------------------------------------------------------------------------------------------------
What I want is :
Page Header
Sr No | Name | Occupation |
1 | A | A |
2 | B | B |
3 | C | C |
Page Footer : Page No 1
Page header
Sr No | Name | Occupation |
4 | A | A |
5 | B | B |
6 | C | C |
Page Footer : Page No 2
