datatables.net: button html code example
Example 1: datatable buttons
dom: 'Blfrtip',
buttons: [
{
extend: 'excelHtml5',
footer: true,
},
{
extend: 'csvHtml5',
footer: true,
},
{
extend: 'pdfHtml5',
footer: true,
},
],
lengthMenu: [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
Example 2: datatables.net
Javascript123$(document).ready( function () { $('#myTable').DataTable();} );