I created a JS fiddle to show this: https://jsfiddle.net/q0ruv6sx/2/
I am instantiating this by the following code:
ThisDataTable = $('#MyTable').DataTable({
data: TableData,
buttons: [
{
extend: 'pdfHtml5',
download: 'open'
},
'print'
],
columns: [
{ title: "Number" },
{ title: "Name" },
{ title: "Start Date" },
{ title: "Customer" },
{ title: "Location" },
{ title: "Sales Person" }
]
});
I have tried without the pdfHtml5 button as well.
I am including all of the recommended JS and CSS from the download tool provided.