Some excel file exported from some platform or system,when i use XLSX.read(),i found the excel content be splited,after I printed control+s,then XLSX.read() can be work correctly #2980
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2980
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?
That file was generated by Apache POI.
Relevant SheetJS issue SheetJS/sheetjs#2011
Relevant Apache POI upstream issue https://bz.apache.org/bugzilla/show_bug.cgi?id=64536
There is an undocumented option
nodim
that you can pass toXLSX.read
:If this works for you, we will consider making that option official.
The workaround not using the undocumented option is https://docs.sheetjs.com/docs/miscellany/errors#worksheet-only-includes-one-row-of-data
Unrelated comment about the screenshotted code: if you only need to support modern Chrome, you can use the
arrayBuffer
method ofFile
orBlob
. It is explained in more detail in the "Blob
andFile
" section of "Local File Access" in the docs