Do DT Export buttons work in IE9. Finding mixed answers so far
Do DT Export buttons work in IE9. Finding mixed answers so far
Hello,
For whatever reason, our companies site forces IE into IE9 compatibility mode. I noticed that the export to excel and pdf buttons won't work. Excel exports a blank file and PDF exports a file that doesn't have an extension.
I tried viewing this page in IE9 compatibility mode and had the same issues. But looking around it seems like it is working for some people.
https://datatables.net/extensions/buttons/examples/initialisation/simple.html
What's the final verdict on this?
Thanks!
Answers
The PDF export button will not work in IE9 as the pdfmake library does not work in that browser. The Excel button certainly should though. I've just tried the page you linked to in IE9 and the Excel button does appear to work okay.
Are you using OpenOffice.org by any chance - if so that is a known bug in OOo that the current sheets are empty. The nightly version of Buttons has a workaround.
Allan
Thanks Allan.
I don't have a real version of IE9 to try out, so I guess it's somehow failing when a newer IE is forced back into 9 Mode using emulation.
We use this on our master page
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />