Webix Export To Excel, PDF, CSV, PNG Progrees Bar

Dear Webix Team,

I create a procedure that export a datatable into file for example export to excel.
My Question, is there any method that capture export success like ajax success ?
I want to disable and make progress bar into my form and then i want stop the progress bar when the export file download pop up.

Is there any solutions for this ?

i hope i can get answer from webix team.

Hello,

Export method returns a promise, so you can use the following code:

app.showProgress();
webix.toExcel(datatable).then(()=>app.hideProgress())

Please, check the following sample: https://webix.com/snippet/7a896de0

Dear Listopad,

Thank you for your answer.
It is work. :smile: