Serialize Comments #183
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#183
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?
I'm running into a problem making a cell with a formula. As far as I know, the way that I'm defining the formula within the cell object is fine and the cell does write to the file when there is a v value.
Here's my cell:
Here's how I am printing out the data in the cells:
Although the cell gets written to "test" locally before being written to the file, the cell simply disappears from the spreadsheet when it is written. If there is a v value for the cell, the cell appears, but the formula disappears.
I also found that there is a similar problem with the c value in the cell, where the cell will disappear if not given a v value.
So my question is: How do I write a formula or comment to a cell and not have it disappear?
Bumping this issue.
According to the docs: "The raw data is the only thing guaranteed to be saved. Formulae, formatting, and other niceties may not be serialized (pending CSF standardization)"
Is there any word on progress for this topic? Has anyone found a workaround?
Duplicate issue: https://github.com/SheetJS/js-xlsx/issues/152#issuecomment-87772442
The formulae should be written to XLSX as of 0.9.4, comments are not yet written to file.
@ryangallen we pushed the feature to the master branch and it will be in the next version cut (aiming for some time in the next 48 hours or so).
https://sheetjs.gitbooks.io/docs/#cell-comments is the relevant part of the docs (it's also in the README but I like the page with the sidebar). As we settle on representations we will add more subsections to the README.