manually set Dimension ref #2840
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#2840
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?
Dear Support team,
i want to manually set the "Dimension ref" of the sheets in the exported xlsx document.
Unfortunately the ref stays the same even if i change it before the XLSX.writefile function.
Does sheetsjs handles the dimension ref or is this not implemented?
Kind regards
Laurenz Rudolph
You should be able to manually edit the worksheet range. For example:
(live demo https://jsfiddle.net/pyskLu1c/)
To verify, go to https://oss.sheetjs.com/cfb-editor/#/ and drag-drop the generated file, then click "xl/worksheets/sheet1.xml" and click "view as text" in the main panel. You should see:
Closing for now, but please reopen if you are finding issues editing the worksheet range.
Thanks for the fast response. I tried this and it didnt work in our case.
After some research i´ve noticed that our template has a dimension ref which doenst get overwritten.
I tried to reproduce it in a simple example with jsfiddle, but i cannot access our bought @sheet/edit library there.
Our Case (Does not update the dimension ref):
Simple example (Does update the dimension ref):
Is there a possibility to add this functionality into the template_set_aoa function?
Kind regards
Laurenz
Please send an email to pro@sheetjs.com with a sample file / value to be changed. The editor should be updating the range if you are inserting new cells.