Skip to content

Commit

Permalink
Use shared string table when exporting xls
Browse files Browse the repository at this point in the history
* Removes cell cap of 255 chars
  • Loading branch information
ivansg44 committed Oct 4, 2024
1 parent f66b1df commit 02963ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/utils/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ export function exportFile(matrix, baseName, ext) {
writeFile(workbook, `${baseName}.xlsx`);
break;
case 'xls':
writeFile(workbook, `${baseName}.xls`);
writeFile(workbook, `${baseName}.xls`, {
bookType: 'biff8',
type: 'file',
bookSST: true,
});
break;
case 'tsv':
writeFile(workbook, `${baseName}.tsv`, {
Expand Down

0 comments on commit 02963ff

Please sign in to comment.