datatables export pdf in landscape code example
Example: datatable pdfHtml5 pagesize
{
extend: 'pdfHtml5',
orientation: 'landscape',
pageSize: 'TABLOID', // TABLOID OR LEGAL
footer: true,
}
{
extend: 'pdfHtml5',
orientation: 'landscape',
pageSize: 'TABLOID', // TABLOID OR LEGAL
footer: true,
}