PDF delete a column
PDF delete a column
klorena
Posts: 3Questions: 1Answers: 0
I am using PDF and I would like to delete a column in the export. How should i do?
$(document).ready(function() {
$('.dataTables-example').DataTable({
pageLength: 25,
responsive: true,
dom: '<"html5buttons"B>lTfgitp',
buttons: [
{extend: 'pdf', title: 'ExampleFile'},
]
});
This question has accepted answers - jump to:
This discussion has been closed.
Answers
This example shows how to choose which columns are exported:
https://datatables.net/extensions/buttons/examples/html5/columns.html
Kevin
Thanks, solved with the pdf button but it does not work with print button
It works fine with the print button for me.
Thanks, solved