DataTables / Vue Exporting Buttons
DataTables / Vue Exporting Buttons
abdosaeed
Posts: 12Questions: 2Answers: 0
Hi, is there a complete example that include using exporting buttons (excel,pdf,..).
thank you for great vue package
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi Chris,
Sure, here you go.
The key for the Excel export is to include JSZip and for the PDF export add pdfmake:
Allan
Thank you @allan that what i am looking for
When I try to set up the buttons extension using this as a template, I get a ReferenceError:
If I don't import the modules required for the buttons, the table displays and works as expected. I just get the ReferenceError when I try to import the buttons.
Am I missing anything? Do I need to import anything else in the App that is not displayed in this example?
The example I linked to appears to work okay. Can you link to a page showing the issue please?
Thanks,
Allan