the exports button on datatable not showing
the exports button on datatable not showing ?
Using chrome right click inspect, check for JS errors. Make sure you have all Datatables plugins link url for the plugins
Please provide a code example or a demo
AdminLTE v2 doesn't deliver any DataTables plugins, you need to download and setup it.
Hi All,
I am using AdminLTE v3.0.4, I am trying to include the export buttons. But with no success. I am getting an error like
DataTables warning: table id=datalist- Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3
*datalist is the id of my table.
I get no error on the console.
Does anyone have a solution with this?
@vanlalruata Ask please questions like the at the datatables forum.
Datatables forum https://datatables.net/forums/
s anyone have a sol
Add this line "Dom": 'Bfrtip',
$("#exampleTable").DataTable({ "Dom": 'Bfrtip', "responsive": true, "lengthChange": true, "autoWidth": true, "buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"] }).buttons().container().appendTo('#exampleTable_wrapper .col-md-6:eq(0)');
I believe the code above will fix your problem. and don't forget to add necessary scripts link in your html page