How To Tell Datatables Where To Insert The Buttons Export
I wanna archive something like this with datatables But I can't find a way how to tell datatable where to insert button copy, excel,PDF etc. Default insert button datatable will r
Solution 1:
SOLUTION
Use dom
option with the value Bfrtip
.
var dTable = $('#dataTable').DataTable({
"dom": "Bfrtip""bProcessing": true,
"bAutoWidth": false,
"responsive": true,
"buttons": [ 'copy', 'excel','csv','pdf']
});
DEMO
See this jsFiddle for code and demonstration.
Post a Comment for "How To Tell Datatables Where To Insert The Buttons Export"