How to add export to pdf button in datatables. Template is: SB Admin 2
How to add export to pdf button in datatables. Template is: SB Admin 2
Xuanna
Posts: 1Questions: 1Answers: 0
datatables-demo.js file
$(document).ready(function() {
$('#dataTable').DataTable();
});sidebar.php
<head>
<link href="../css/admin-2.min.css" rel="stylesheet">
<link href="../vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">
</head>footer.php
Answers
Follow the Buttons installation docs. See the basic example. Let us know if you have specific questions or issues.
Kevin