18
Views
4
Comments
Ultimate PDF header not repeating
Question

I have PDF with table records, some table data is visible in the second page, but header is not repeating to the second page. how can i repeat header in the next page.I want the header to be added here as well.

2025-01-23 05-58-39
Jamal Mohammed

In Ultimate PDF the Thead should repeated in every page by default.  Please provide us the component version you are using. 
try this workaround 

@media print {

  thead {

    display: table-header-group;

  }


  tfoot {

    display: table-footer-group;

  }


  table {

    page-break-inside: auto;

  }


  tr {

    page-break-inside: avoid;

    page-break-after: auto;

  }

}





2023-10-16 05-50-48
Shingo Lam

Its correct approach. you should add the above css directly to the screen that you refer to export to pdf 

UserImage.jpg
Rakshith Bhairanatti

this the table used the tbody tr has list - of data, I used repeat heading block as well it didn't work, header was not visible in next page.

2025-07-28 06-45-20
Rupesh Patil

hi @Rakshith Bhairanatti 

For Ultimate PDF header placeholder already there if you need header in all pages. I have attached screenshot below you can check:

and if need header and content then you can use this:

I hope this helps

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.