Convert HTML to Excel #748
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#748
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
When convert HTML table to Excel, is there any way to force all output as string?
By default, the leading zero for code was trimmed upon export.
Also, number field with "," was considered as string where same data piece less than 1000 was considered as number. The output is annoying.
Any suggestion?
Thanks.
@sangpuion the option
raw:true
should be passing the raw strings, but it currently isn't. The equivalent for CSV was added in https://github.com/SheetJS/js-xlsx/pull/722 and a similar change would have to be made in https://github.com/SheetJS/js-xlsx/blob/master/bits/79_html.js#L133Use Sheet instead of WorkSheet. Like: