XLSX.read miss cell #1983
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#1983
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a csv like this:
data
1
2
I use following code to read it
var reader = new FileReader();
reader.onload = function (e) {
var data = new Uint8Array(e.target.result);
var workbook = XLSX.read(data, { type: 'array' });
console.log(workbook)
};
reader.readAsArrayBuffer(file);
When I console.log(workbook) I expect get data like this:
Sheet1:
!ref: "A1:A3"
A1: {v: "data", t: "s"}
A2: {v: 1, t: "n"}
A3: {v: 2, t: "n"}
But I got the following data
Sheet1:
!ref: "A1:A5"
A1: {v: "data", t: "s"}
A3: {v: 1, t: "n"}
A5: {v: 2, t: "n"}
Why?? where is A2? Why miss A2?
Can you share the bytes of the file?
console.log(data)
just before theXLSX.read
call, expand the console so you can see the numbers, and take a screenshotWWW.zip
this is my codeThank you very much
WWW.zip
This has the same root cause as #1976 , and #1977 should fix the issue
ok thankyou verymuch