Posted 1 July 2020, 4:10 am EST
I’m trying to export a grouped FlexGrid using ```
wijmo.grid.xlsx.FlexGridXlsxConverter.saveAsync()
In Chrome, this approach works perfectly fine: the user clicks the button, the busy modal appears with a spinner and an "Exporting to Excel" message, and the modal disappears once the Excel file is ready to be saved. In IE11, however, the CSS spinner on the modal stops spinning once the ```
saveAsync()
``` method is hit.
Do you know why this doesn't work in IE11? Any help would be much appreciated.
Here's the modal HTML:
{{caption}}
Here's the code for the export:
public exportToGroupedExcel(grid: Grid, fileTitle: string,
options?: wijmo.grid.xlsx.IFlexGridXlsxOptions): void {
var busy = this.modals.busy(“Exporting to Excel…”);
setTimeout(() => { var fileDate: string = wijmo.Globalize.formatDate( new Date(), 'yyyy-MM-dd'); // culture-invariant date format var fileName = `${fileTitle.replaceAll(' ', '-')}-${fileDate}.xlsx`; wijmo.grid.xlsx.FlexGridXlsxConverter.saveAsync( grid.flexGrid, options, fileName, undefined, reason => this.modals.unexpectedError(reason)); busy.done(); }, 500);
}