button style in jquery datatable code example
Example: button style in jquery datatable
$(document).ready(function() {
$('#example').DataTable( {
dom: 'Bfrtip',
buttons: [
{
extend: 'copyHtml5',
text: '',
titleAttr: 'Copy'
},
{
extend: 'excelHtml5',
text: '',
titleAttr: 'Excel'
},
{
extend: 'csvHtml5',
text: '',
titleAttr: 'CSV'
},
{
extend: 'pdfHtml5',
text: '',
titleAttr: 'PDF'
}
]
} );
} );