How to display any loading symbol while export to excel or pdf process is running?

How to display any loading symbol while export to excel or pdf process is running?

Datatables Export to pdf and excel takes long time....
Is their any way that we can show a loading symbol while this process is going on?

This discussion has been closed.