How to add page content in header
-
https://playground.jsreport.net/w/anon/77wIeLAb
I want to add names to the header; how do I do that?
-
The merged template has the same data context as the main template. If every page represents one "name", you can just reach it based on the page index.
https://playground.jsreport.net/w/anon/OfRNm~AZIn case you don't know how many pages are represented by a single "name", use helper
pdfCreatePagesGroup
https://playground.jsreport.net/w/anon/nxRXIgMeThis is described in docs with examples
https://jsreport.net/learn/pdf-utils#grouping-pages
-
I appreciate your assistance.