ANS-1453 · PRINTING, PDF & EMAIL TEMPLATES

How to Repeat Table Headers on Every Page in NetSuite Advanced PDF?

Ensure consistent table header visibility across multi-page documents generated from NetSuite Advanced PDF templates using standard HTML.

Short answer

To repeat a table header on every page in a NetSuite Advanced PDF template, utilize the standard HTML <THEAD> tag. Enclose your table header rows within <THEAD><TR>...</TR></THEAD> within your <table> structure. This ensures the header automatically repeats when the table spans multiple pages in the generated PDF.

Scenario

When generating documents from NetSuite Advanced PDF templates, tables often contain extensive data that spans multiple pages. A common requirement is for the table header to automatically repeat at the top of each subsequent page, ensuring clarity and readability for the entire document.

Solution

To ensure a table header repeats on every page in a NetSuite Advanced PDF template, utilize the standard HTML tag. The content within the section, including its (table row) elements, is designed to repeat automatically over multiple pages of a printed document.

For more information, refer to the HTML specification for: https://htmlhelp.com/reference/html40/tables/thead.html

Expert NetSuite Support

Need help with this NetSuite issue?

Printing, PDF & Email Templates consulting and configuration support

Talk to a consultant