Is it possible to get an example incorporating more of the options for the buttons please?
Is it possible to get an example incorporating more of the options for the buttons please?
ChrisOB
Posts: 1Questions: 1Answers: 0
Hello, I am new to DataTables, but slowly getting the pages to respond how I want them.
For example, a excelHtml5 button that formats the filename and extension, or PDFHtml5 with the orientation and sizing options. Many of the examples I am finding on your site are for flashbuttons or only have a limited example.
This discussion has been closed.
Answers
All you need to do is define multiple parameters in the same object, for example.
Thanks
Tom
Note that as per https://datatables.net/extensions/buttons/examples/initialisation/export.html:
Buttons provides button types that will automatically determine if HTML5 or Flash should be used based on the browser's functionality and it is strongly recommended that you use these button types over the specific HTML5 or Flash button types. These are: copy, csv, excel, pdf.