Open Harri266 opened 6 years ago
Hi All,
I am using following code to download the excel file:
var table: any = $( "#"+tableId +' table')[1]; var instance = new TableExport(ExportButtons, { formats: ['xls'], exportButtons: false, filename: fileName, ignoreCols: colIgnore, });
var exportDataXLS = instance.getExportData()[table.id]['xls']; instance.export2file(exportDataXLS.data, exportDataXLS.mimeType, exportDataXLS.filename, exportDataXLS.fileExtension); }, 500);
Hi All,
I am using following code to download the excel file:
var table: any = $( "#"+tableId +' table')[1]; var instance = new TableExport(ExportButtons, { formats: ['xls'], exportButtons: false, filename: fileName, ignoreCols: colIgnore, });
var exportDataXLS = instance.getExportData()[table.id]['xls']; instance.export2file(exportDataXLS.data, exportDataXLS.mimeType, exportDataXLS.filename, exportDataXLS.fileExtension); }, 500);