GithubHelp home page GithubHelp logo

Comments (8)

rainabba avatar rainabba commented on June 19, 2024

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 :)

from jquery-table2excel.

chankeypathak avatar chankeypathak commented on June 19, 2024

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?

from jquery-table2excel.

chankeypathak avatar chankeypathak commented on June 19, 2024

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

from jquery-table2excel.

rainabba avatar rainabba commented on June 19, 2024
  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

from jquery-table2excel.

chankeypathak avatar chankeypathak commented on June 19, 2024

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

from jquery-table2excel.

chankeypathak avatar chankeypathak commented on June 19, 2024

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.

from jquery-table2excel.

jzhang6 avatar jzhang6 commented on June 19, 2024

Is this resolved? and any workaround for IE?

from jquery-table2excel.

rainabba avatar rainabba commented on June 19, 2024

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.

from jquery-table2excel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.