Value Override - not working #3022
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#3022
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?
Question: When parsing an HTML table like this to export to Excel, why is the data-v value ignored and an empty cell placed in the exported Excel workbook? The export runs BUT I expected as I had included the raw: false option that the cell parsing behavior would have been overridden (as per the example provided at this URL https://docs.sheetjs.com/docs/api/utilities/html#value-override)
HTML
JS
We are ultimately trying to export a table that contains input elements. It appears their values are ignored when exporting and only the string value inside the <td></td> is captured. Hence why we are trying to use the data-v value, we would like to set the data-v value with javascript when a user has edited an input element contained within the <td></td> element to work around the input element being ignored.
Any assistance / guidance you could offer would be greatly appreciated
The exact example in JSFiddle: https://jsfiddle.net/vLrj7ceg/
This appears to generate a XLSB file with cell A1 set to the numeric value 0.
Please confirm you are using the latest version (See https://docs.sheetjs.com/docs/getting-started/installation/ for more details).
The CDN was pinned to v0.15, after updating this to 0.20 (per your advice) this is resolved. Thank you.