Start - complete callback exports
Start - complete callback exports
Hi,
I want to show a spinner when the libraries are exporting the data to Excel / PDF. Currently (if users want to) they can import thousands of rows into a PDF.
Im using this in Jquery for ajax calls:
$(document).ajaxStart(function () {
$("#spinner").show();
}).ajaxComplete(function () {
$("#spinner").hide();
});
Now i want to show and hide the same spinner when a pdf or excel is being generated.
Can you tell me if that functionality is available, if so how to implement it?
Regards,
Rick
Answers
Anyone:)?
Gang,
"Ditto".. any movement on this request? seeing within the pdfmake.js codebase it (of course) makes a callback once it's completed the export.. (also seeing a lot of "Chrome-only discussion)
http://stackoverflow.com/questions/34001513/pdfmake-callback-when-export-is-finished
thanks,
Jeff
Unfortunately not yet. It is something I plan to build into the next major/minor version of Buttons (I'm not sure which it will be yet, likely 1.3).
Allan