Datatable bootsrap + print ?
Datatable bootsrap + print ?
lifedaniel
Posts: 68Questions: 4Answers: 0
Hello, I use datatable with bootsrap and my "print" button isn't working anymore.
Any tips?
My code :
var table = $('#table1').DataTable({
"language": {
"url": "http://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/French.json"
},
buttons: [
{
extend: 'print',
message: 'Liste des codes des restaurants'
}
]
});
table.buttons().container()
.appendTo( '#example_wrapper .col-sm-6:eq(0)' );
Thank you.
This discussion has been closed.