How to hide thead table in pdf document

How to hide thead table in pdf document

jlchjlch Posts: 1Questions: 1Answers: 0

{
extend: 'pdfHtml5',
text: 'PDF paysage',
orientation: 'landscape',
pageSize: 'A4',
title: function () {
var titre = $('#titre_tableau').text();
return 'Salle d\'étude semaine ' + trim(titre_tableau);
},
customize: function (doc) {
doc.styles.title.fontSize = 12;
doc.styles.title.alignment = 'left';
},
},

I would like to remove the black bar between the title and the table

Answers

  • kthorngrenkthorngren Posts: 21,670Questions: 26Answers: 5,017

    That border doesn't appear by default as can be seen in this example. I'm not sure where it is coming from. To learn how to remove the border you will probably need to inspect the doc parameter passed into the pdfHtml5 customize function and refer to the PDFMake docs.

    Kevin

Sign In or Register to comment.