-
Notifications
You must be signed in to change notification settings - Fork 965
Open
Description
Hello
I have Datatable button which calls this function:
function download(url, data, method, mime, type) {
$.fileDownload(url, {
httpMethod: method,
dataType:type,
contentType:mime,
data: data,
preparingMessageHtml: "We are preparing your report, please wait...",
failMessageHtml: "There was a problem generating your report, please try again."
});
return false; //this is critical to stop the click event which will trigger a normal file download!
}
The method must be GET but i need to use ajax for request because IE has limit how much data can be sent in url bar and with datatables filters i exceed this limit. The datatype that i am using this to is csv and excel sheets generated on server. The function works fine on firefox but i need to make it work on IE 11 on windows 8. There it does not make any call to file generating endpoint as it suppose to. Am i doing something wrong?
Thank you
Metadata
Metadata
Assignees
Labels
No labels