PDF button
PDF button
![ClaudioGS](https://secure.gravatar.com/avatar/d0826d174b85743c6da2ac0a0d10a116/?default=https%3A%2F%2Fvanillicon.com%2Fd0826d174b85743c6da2ac0a0d10a116_200.png&rating=g&size=120)
I have the following code for the pdf button,
How can you configure the font size and column width to fill the entire page width.
Please can you help me,
Thanks in advance from Valparaíso Chile
I have the following code for the pdf button,
How can you configure the font size and column width to fill the entire page width.
Please can you help me,
Thanks in advance from Valparaíso Chile
Replies
I have the following code for the pdf button,
How can you configure the font size and column width to fill the entire page width.
Please can you help me,
Thanks in advance from Valparaíso Chile
document.addEventListener("DOMContentLoaded", function(){
const buttons = [{
extend: 'pdfHtml5',
download: 'open',
footer: true,
className: "bg-transparent border border-none",
text: '<span class="badge bg-btn-pdf"><box-icon type="solid" name="file-pdf"></box-icon><br/>Pdf</span>',
exportOptions: {
columns: [0, ':visible']
}
}
]
const dom = "<'row'<'col-md-3'l><'col-md-5 text-center'B><'col-md-4'f>>" +
"<'row'<'col-md-12'tr>>" +
"<'row'<'col-md-5'i><'col-md-7'p>>";
This thread should help, it's asking the same thing.
Colin