koolreports plugin example uses nearly same syntax as Datables example for buttons: https://datatables.net/extensions/buttons/examples/initialisation/simple.html
But I am not able to figure out how to pass more like....
"buttons" => [
'copy', 'csv', 'excel', 'pdf', 'print'
{
extend: 'pdfHtml5',
orientation: 'landscape',
pageSize: 'LEGAL' }
],
will not work.... I get error:
Parse error: syntax error, unexpected '{', expecting ']'