# HTMLDOC Table header row(s) to repeat on subsequent pages

**URL:** <https://www.ruby-forum.com/t/htmldoc-table-header-row-s-to-repeat-on-subsequent-pages/166769>\
**Category:** Rails\
**Created:** [April 29, 2009, 11:37am UTC](https://www.ruby-forum.com/t/htmldoc-table-header-row-s-to-repeat-on-subsequent-pages/166769 "2009-04-29T11:37:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhanuja](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/d07c76/32.png) [@dhanuja](https://www.ruby-forum.com/u/dhanuja)\
**Post date:** [April 29, 2009, 11:37am UTC](https://www.ruby-forum.com/t/htmldoc-table-header-row-s-to-repeat-on-subsequent-pages/166769/1 "2009-04-29T11:37:42Z")

</div>

Hello,

I need to display table headers on each page in the pdf generated using  
HTMLDOC.

For example, my table contains header as Name, Address, Age. It is  
displayed in first page. When the content of the table extends to next  
page, only the content is displayed and header is not displayed.

If you note, in the attached pdf, table header is displayed only in the  
first page, pasted in top and not in the second page which is pasted in  
the bottom.

Can anyone give a solution for this or suggest some related urls for  
reference?

Thanks.
