Open hegoku opened 6 years ago
same issue with me too. how to fix this ?
Did it say aoa
or aoa_to_sheet
not defined? The method aoa_to_sheet
was added to the SheetJS community edition after this branch was created, so one approach would be to copy code from https://github.com/SheetJS/js-xlsx/blob/master/bits/90_utils.js.
But this fork doesn't support the...
var ws = XLSX.utils.aoa_to_sheet(ws_data);
so it's nice and easier to create an array-scheme like this...
But okay, when it was added after this fork/branch. :/
If somebody finds time and wants to merge this feature in another branch. To combine almost both ...
Styles & aoa_to_sheet ()
...that would be great!
I used to use SheetJS/js-xlsx, but it can't set cel style, so I find this lib. But when I switch SheetJS/js-xlsx/xlsx.full.min.js to this lib's xlsx.full.min.js, the browser shows the error :' Uncaught ReferenceError: aoa is not defined'.