Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE + XLSX Format support #1

Closed
chankeypathak opened this issue Feb 21, 2014 · 8 comments
Closed

IE + XLSX Format support #1

chankeypathak opened this issue Feb 21, 2014 · 8 comments

Comments

@chankeypathak
Copy link

It doesn't work in IE10 and lower versions. Also there should be a way to download file in xlsx format.

@rainabba
Copy link
Owner

Any more information than "it doesn't work?" Reason you can't use a current browser? Also, what do you mean by "download file in xlsx format"? It is in the standard open xml format which is 100% excel compatible. You can rename it to .xlsx and it will open in excel if the extension bothers you :)

@chankeypathak
Copy link
Author

I'm using the same code as yours.

Check this: http://jsfiddle.net/chankeypathak/7cwZ9/10/

If you open it in chrome/ff it works fine, in IE it doesn't work, means the Excel is not downloading.

And regarding XLSX I want to say that there's a mime type to download file in XLSX format which is

"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"

but it doesn't work for me, can you check?

@chankeypathak
Copy link
Author

and renaming the above xls file to xlsx doesn't work. file doesn't open in that case.

@rainabba
Copy link
Owner

  1. That jsfiddle isn't my plugin. 2) See First accepted answer here regarding IE: http://stackoverflow.com/questions/7405345/data-uri-scheme-and-internet-explorer-9-errors/8453636#8453636

@chankeypathak
Copy link
Author

I tried your demo/index.html and that didn't work in IE.

@chankeypathak
Copy link
Author

BTW you're using the btoa method (https://developer.mozilla.org/en-US/docs/Web/API/Window.btoa) which is only supported in IE10 and higher so your plugin will not work in IE9 or less.

@jzhang6
Copy link

jzhang6 commented Jan 21, 2015

Is this resolved? and any workaround for IE?

@rainabba
Copy link
Owner

rainabba commented Apr 4, 2015

This plugin is a hack and as such, isn't going to work in all browsers. As it stands, it will not work as intended in IE 11 on 8.1 because I'm not prompted to save, but instead it tries to open an associated app from the Windows Store.

I wouldn't even try to support IE9 given how old it is, but you're welcome to fork and add that support of course.

It does work in Chrome 44.

@rainabba rainabba closed this as completed Apr 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants