Export Title to Apply to Every Page
Export Title to Apply to Every Page
zgoforth
Posts: 493Questions: 98Answers: 2
Link to test case: https://jsfiddle.net/BeerusDev/tb3zy0us/9/
Here is the DataTables example: https://datatables.net/extensions/buttons/examples/html5/titleMessage.html
So I have a title on PDF export, but it only applies to the first page. Is it possible to have it target all pages printed to the PDF? Do I need to use a media query, or is there a DT option?
Answers
This thread should help, it's asking the same thing.
Cheers,
Colin
@colin I tried that here https://jsfiddle.net/BeerusDev/tb3zy0us/16/ and replacing the title with the header moves the message all the way to the top.
Remove the title, ie,
title: null
. Then you will have the header of each page closer to the table. Read more about customizing the header and footer in the PDFMake docs.Kevin