DataTables (1.10.16) export to pdf tool bar button is not working in IE 11 running in IE 10 mode.
DataTables (1.10.16) export to pdf tool bar button is not working in IE 11 running in IE 10 mode.
Ram.B
Posts: 9Questions: 2Answers: 0
The export to pdf button in datatable is not working for me in IE 11 running in IE 10 mode. If I run in Edge mode using developer tools, it works fine. I am using Buttons plugin 1.4.2. My setup info is here - https://debug.datatables.net/uporoc
I get InvalidStateError in datatables.js. I cannot change IE to run in Edge mode as its controlled by master page. Are there any workarounds?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I don't believe that pdfmake (which does the PDF export) actually supports IE10. It shouldn't be resulting in an error though - it should simply not show the PDF button.
Allan
Allan,
Thanks for the quick response. I am using pdfmake-0.1.32. I have another page that manually creates a report as pdf using pdfmake and that works fine in IE 10.
pdfmake - Supported Browsers:
https://github.com/bpampuch/pdfmake/issues/800
Thanks!
https://datatables.net/extensions/buttons/examples/initialisation/export.html - Here export to pdf does not work in IE 10 mode.
Thanks. I'll try it out in IE10 tomorrow and let you know how I get on.
Allan
Alan,
Any luck?
Thanks!
Yes! Sorry for the delay in replying. I've committed the fix and I'll tag and release an updated Buttons tomorrow.
Allan
The latest release fixed it. Thank you! I have one comment: The flash pdf export button animation doesn't seem to stop after the pdf is generated in all browsers.
Yup sorry. Two steps forwards, one back. That issue was reported and resolved here. I'll do a 1.5.1 release with the fix shortly.
Allan