-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
exporting using ajax doesn't download the file #17
Comments
Hey As far as I know, it's not possible to set the download headers when doing an ajax request. |
Hi, I am looking at using the jquery file download plugin (http://johnculviner.com/jquery-file-download-plugin-for-ajax-like-feature-rich-file-downloads/) to mimic the effect of ajax downloading. The plugin's method is dependent upon a header being sent when the file is being downloaded, but the Ideally, an event could be fired allowing for the headers to be adjusted prior to being sent to Perhaps the following code change could be considered: Current
Suggested
It's a great package, but unfortunately I probably couldn't use it without this flexibility. Thanks. |
If I call this route using ajax, I don't get a prompt to download the file. I can see the content by using firebug.
The text was updated successfully, but these errors were encountered: