-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: Cannot call method 'getTypeOf' of undefined #38
Comments
The page appears to be an older version of the code. Can you try the latest version (http://sheetjs.github.io/js-xlsx/) and let me know if you see the same errors |
now i can read xlsx but it gives this error "Unrecognized key in Heading Pairs: �alı�ma Sayfaları " |
That's just console output (mostly because the files themselves use https://github.com/SheetJS/js-xlsx/blob/gh-pages/xlsx.js#L639
key in Heading Pairs: " + v[i++].v); For example, in german, the name "Worksheets" is actually rendered as Can you verify if the actual content correct? On Sun, Nov 3, 2013 at 1:52 PM, cemiley notifications@github.com wrote:
|
yes it is correct thank you! |
@cemiley The warning has been removed in master so I will mark this closed. However, I would like to see the file. Could you possibly email the file (sheetjs@gmail.com) so I can see exactly what that was supposed to say? |
Add simple merge cells capability, saving as range structures (h/t @mchapman)
function getXLSX(readFile) {
function process_xlsx(xlsx) {
var output = "";
if(out.innerText === undefined) out.textContent = output;
else out.innerText = output;
}
function to_csv(workbook) {
var result = [];
workbook.SheetNames.forEach(function(sheetName) {
var rObjArr = XLSX.utils.sheet_to_csv(workbook.Sheets[sheetName]);
if(rObjArr.length > 0){
result.push("SHEET: " + sheetName);
result.push("");
result.push(rObjArr);
}
});
return result.join("\n");
}
while reading with 'readAsBinaryString' xlsx file that consists of numbers i got "Uncaught TypeError: Cannot call method 'getTypeOf' of undefined"
when reading with 'readAsArrayBuffer' this time i got 'Uncaught TypeError: Cannot call method 'decode' of undefined '.Could you please help me what should we import and how should code be whille reading XLSX?i try many version of this link http://www.javascriptoo.com/js-xlsx but doesn't work
The text was updated successfully, but these errors were encountered: