I need to repeat the header em second page



    • I'm making the header and body in the same template without dividing it, because when I divided the header and the body content went to the second page and stayed on top of the header, so I decided to make both in the same template to avoid this, but I need to repeat the header in second page, is that possible?


  • 'm making the header and body in the same template without dividing it, because when I divided the header and the body content went to the second page and stayed on top of the header

    To avoid this, you need to set the margin of the main template.

    0_1737454069339_upload-ce522c72-462f-4cb9-9c57-50631b3ee0e6

    Example
    https://playground.jsreport.net/w/admin/kMI4FBmw



  • If you are using the chrome-pdf recipe, the easiest way is usually to use the native 'Header' and 'Footer' templates in the jsreport studio. Anything you put in that header template section will automatically repeat on every page. Just make sure you leave enough margin in your main template so the header doesn't overlap with your content!


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.