数据表脚本:
var tblPreventivi = $('#example').DataTable({
"order": [[ 5, "desc" ]],
"dom": 'lBfrtip',
"buttons": [
{
extend:'excel',
exportOptions: {
columns: [ 0,2,3,4,5 ]
}
},
{
extend:'pdf',
exportOptions: {
columns: [ 0,2,3,4,5 ]
}
},
],
"lengthMenu": [[20, 50, 100, -1], [20, 50, 100, "All"]]
});
所以我需要DataTable options
任何人都请帮帮我!