CTRL P, Prints table
CTRL P, Prints table
tombomb
Posts: 5Questions: 3Answers: 0
Hi I would like to set CTRL P to kick off the print function, I have tried setting
{
extend: 'print',
exportOptions: {
columns: [ ':visible' ]
},
autoPrint: false,
title: 'Admin List - <?php echo date("d-M-Y - Hi");?>',
key: {
ctrlKey: true,
key: 'p'
}
}
But its not kicking the print button / function, any tips? I want to catch the print dialog if the user tries to print the page and have them only print the table.
This discussion has been closed.