var table = $('#example').DataTable({ dom: "<'row'<'col-sm-3'l><'col-sm-6 text-center'B><'col-sm-3'f>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", language: { url: "https://cdn.datatables.net/plug-ins/1.10.9/i18n/English.json" }, buttons: [ 'copy', 'pdf', 'excel', 'csv' ] });