$('#charge_table').DataTable({ "paginate": false, "searching": true, "ordering": true, "info": false, "dom": 'Bfrtip', buttons: [ 'excelHtml5', 'csvHtml5', ] }); $('#table_datatables').DataTable({ "paginate": false, "searching": true, "ordering": true, "info": false, "dom": 'Bfrtip', buttons: [ 'excelHtml5', 'csvHtml5', ] });