fnComplete callback doesn't fire if Cancel Pressed
fnComplete callback doesn't fire if Cancel Pressed
droshi
Posts: 10Questions: 2Answers: 1
I'm having the same problem described here:
http://datatables.net/forums/discussion/9355/tabletools-callback/p1
is there any solution to this? I've tried work-arounds but can't seem to attach an event listener to anywhere that works for me.
Basically I'm showing & hiding my ajax loader when pressing a export PDF button, since the action takes a few seconds. But the complete only works if you press save, not if you press cancel or just X out of the dialog.
http://datatables.net/forums/discussion/9355/tabletools-callback/p1
is there any solution to this? I've tried work-arounds but can't seem to attach an event listener to anywhere that works for me.
Basically I'm showing & hiding my ajax loader when pressing a export PDF button, since the action takes a few seconds. But the complete only works if you press save, not if you press cancel or just X out of the dialog.
This discussion has been closed.
Replies
does anyone have a work around to give some feedback after a user presses export to PDF and it takes 15s to make the document before it asks to save?