function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
edoardo_spanoedoardo_spano 

Repeating header table

Hi to all,

I have created a visualforce page rendered as "PDF".
In the content div (body) there is a table that may have "infinite" rows.
When there are too rows, the table is extended in multiple page, but the header is not repeated for each page.

How may I accomplish it?

Thanks in advance.
Best Answer chosen by edoardo_spano
edoardo_spanoedoardo_spano
Thank you bob_buzzard!

While waiting an answer i'm tried this solution:
http://sivasfdcsolutions.blogspot.com.au/2012/09/pagenation-for-pdf-repeted-table-header.html

It works fine!

All Answers

bob_buzzardbob_buzzard
As far as I'm aware you'll need to handle the pagination in your controller - there's an example at:

http://wiki.developerforce.com/page/Creating_Professional_PDF_Documents_with_CSS_and_Visualforce
edoardo_spanoedoardo_spano
Thank you bob_buzzard!

While waiting an answer i'm tried this solution:
http://sivasfdcsolutions.blogspot.com.au/2012/09/pagenation-for-pdf-repeted-table-header.html

It works fine!
This was selected as the best answer