Last active
December 5, 2019 04:29
-
-
Save parzibyte/b96486786d3481982faff7ad22c7ced0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let tableExport = new TableExport($tabla, { | |
exportButtons: false, // No queremos botones | |
filename: "Mi tabla de Excel", //Nombre del archivo de Excel | |
sheetname: "Mi tabla de Excel", //Título de la hoja | |
}); | |
let datos = tableExport.getExportData(); | |
let preferenciasDocumento = datos.tabla.xlsx; | |
tableExport.export2file(preferenciasDocumento.data, preferenciasDocumento.mimeType, preferenciasDocumento.filename, preferenciasDocumento.fileExtension, preferenciasDocumento.merges, preferenciasDocumento.RTL, preferenciasDocumento.sheetname); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment