sheet_to_json empty data #3002
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#3002
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?
Hi every one,
I try to display an Excel file to HTML Table using SheetJS but i have an issue.
Sometimes and with some files, the convert end up at the end of the header. The datas are not displayed.
After checking the workbook features, the filter is not generated by Excel.
[{"Name":}] --> File without filter
[{"Name":"_xlnm._FilterDatabase","Sheet":0,"Hidden":true,"Ref":"Offre!$A$10:$N$10"}] --> File with filter
I have try the option : ws['!autofilter'] but it didn't works for in my case
`var reader = new FileReader();
How can I apply auto filter when I import data ?
Thank in advance
Best regards
Alexandre
Can you check the original sheet range and confirm that it covers the entire data range?
Ideally you could share a test file. If you can't do it publicly, send an email.
Hi,
Thanks for your response.
you are right ( 2/3 files) return only header row (dont covers the entire data range)
When it's work :
[
["column1","column2","column3","column4","column5"],
["data-column1","data-column2","data-column3","data-column4","data-column5"],
["data-column1","data-column2","data-column3","data-column4","data-column5"],
]
When it's dont work :
[
["column1","column2","column3","column4","column5"]
]
Have you got any idea? I will try to share with you and example.
You can pass the option
nodim: true
OR use the recommendation in https://docs.sheetjs.com/docs/miscellany/errors#worksheet-only-includes-one-row-of-dataYou can pass the option nodim: true
It's solve my issue
Sincerely thank you
is there any docs about nodim option?
The type definition describes the option as follows:
Currently the option only applies to XLSX. We will go back and add support for the other file formats that allow self-reported ranges.