Laravel-excel: AJAX support

Created on 10 Feb 2016  路  1Comment  路  Source: Maatwebsite/Laravel-Excel

Hello,

this might be beyond the scope of this implementation, but is it possible to download the exported excel file throught jQuery AJAX??

Thanks in advance

Most helpful comment

I was able to solve the problem. I'm using 'store' method to save the file on the server, and then I send the response (the path to the file):

export.done(function (data) {
window.location.href = data;
});

And the file can be donwloaded.

>All comments

I was able to solve the problem. I'm using 'store' method to save the file on the server, and then I send the response (the path to the file):

export.done(function (data) {
window.location.href = data;
});

And the file can be donwloaded.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ellej16 picture ellej16  路  3Comments

contifico picture contifico  路  3Comments

vandolphreyes picture vandolphreyes  路  3Comments

amine8ghandi8amine picture amine8ghandi8amine  路  3Comments

octoxan picture octoxan  路  3Comments