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
answered on 10 Aug 2015, 02:21 PM
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: