SaveAsExcel
methodsInitiates the Excel export. Also fires the excelExport event.
Calling this method may trigger the built-in popup blocker of the browser. To avoid that, always call it as a response to an end-user action, for example, a button click.