To add loader while exporting records in the form of "PDF,CSV" using DataTable TableTools

To add loader while exporting records in the form of "PDF,CSV" using DataTable TableTools

kanakarajkanakaraj Posts: 1Questions: 1Answers: 0
edited August 2015 in Free community support

Hi Allan and others members of the forum,

First of all, I would like to thank you Allan for your great work on DataTables.

I searched on the forum but I found no discussion about my problem.

I try to display a wait box when an user clicks on the CSV button of TableTools.

To display the box, I put my code in the fnClick callback.

Then when the user save the csv file into his filesystem, I use the fnComplete callback to hide previous box.

But if the user clicks on cancel instead of save, the fnComplete callback is not called.

So is there a callback for this situation ?

Thanks, Kanakaraj.

This discussion has been closed.