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

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
This discussion has been closed.
Answers
Follow the Buttons installation docs. See the basic example. Let us know if you have specific questions or issues.
Kevin