This is a migrated thread and some comments may be shown as answers.

show Loading message when export to excel

1 Answer 657 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mariana
Top achievements
Rank 1
Mariana asked on 07 Aug 2015, 05:22 PM

Hi !

I have a grid and i need to export to Excel. But my query returns a many ​database registers.

I need to show a loading icon when the user clicks in Export icon during the download. How i do this ?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 10 Aug 2015, 02:21 PM
Hi Mariana,

With the exporting to Excel functionality it will be difficult to achieve the desired functionality, because the excelExport event of the widget will fire only after it creates the workbook that will be exported. One possible approach that you can test is to attach handler for the onmousedown event of the Export button and show the loading icon, then, within the excelExport event you can hide that icon.

Following is a very basic example of the above approach:
Hope this helps.


Regards,
Konstantin Dikov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Mariana
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or