sheetjs icon indicating copy to clipboard operation
sheetjs copied to clipboard

xlsb errors

Open WorkMAE opened this issue 8 years ago • 1 comments

I cannot get this to work with an XLSB file.

Since fileRead won't work to pull the file off the server, I use a $.get(serverFile) to load the data, but then when I try and use XLSX.read(data) it throws an error no matter what I put in there for type: if I use binary: I get "undefind TypeError: Cannot read property '0' of undefined"

if I use buffer I get "Unrecongnized type [object Object]"

I simply want to grab the file data and parse it into JSON. How can I do this with an XLSB file?

WorkMAE avatar Jun 18 '18 20:06 WorkMAE

You need to use an XMLHttpRequest to get data from the server. See the xhr demo for more information

SheetJSDev avatar Jun 18 '18 21:06 SheetJSDev