export excel sheet
export excel sheet
divyamawar
Posts: 1Questions: 1Answers: 0
I have created table using js data table but i am trying export excel option into table but the button is not showing on the table.
$(document).ready(function() {
$('#example').DataTable( {
dom: 'Bfrtip',
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
]
} );
} );
This discussion has been closed.
Answers
Did you load all of the required JS and CSS files as described in the docs:
https://datatables.net/extensions/buttons/
Kevin