ws["!ref"] wrong value #2892

Closed
opened 2023-02-23 10:15:20 +00:00 by nguyenquocthao · 1 comment

In the file, the correct value for the !ref of Sheet1 is "A1:L210"; but get the value "A1:I6". Even in the https://oss.sheetjs.com/ only gets 6 rows.
Due to that, xlsx.utils.sheet_to_json or xlsx.utils.sheet_to_txt return wrong

In the file, the correct value for the !ref of Sheet1 is "A1:L210"; but get the value "A1:I6". Even in the https://oss.sheetjs.com/ only gets 6 rows. Due to that, xlsx.utils.sheet_to_json or xlsx.utils.sheet_to_txt return wrong
Owner

Same story as #1601. We will eventually add an option to use the real worksheet range (follow the other issue for updates). https://docs.sheetjs.com/docs/miscellany/errors/#worksheet-only-includes-one-row-of-data describes a workaround that works in the current version.

Same story as #1601. We will eventually add an option to use the real worksheet range (follow the other issue for updates). https://docs.sheetjs.com/docs/miscellany/errors/#worksheet-only-includes-one-row-of-data describes a workaround that works in the current version.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#2892
No description provided.