MOBILE RESPONSIVE data table show on mobile with detaIL VIEW WITH EXCEL PDF BUTTONS
$(document).ready(function() {
var table = $('#example').DataTable( {
rowReorder: {
selector: 'td:nth-child(2)'
},
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
],
responsive: true
} );
} );