sheet_add_aoa Creates a new worksheet in the workbook #3105
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#3105
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?
Greetings! At this moment I have an application that receives an AOA from a form and takes that data to create a worksheet. The problem is that every time I submit new data through the form it creates a separate sheet within the workbook instead of adding the data to the existing worksheet.
My Code
I have tried working with
var ws
but the app doesn't work at all if I mess with it. What am I doing wrong? Thank you in advance for the help!https://docs.sheetjs.com/docs/api/utilities/array#array-of-arrays-input
sheet_add_aoa
andsheet_add_json
take an options argument.By default, the methods start writing on cell A1, so repeated calls will look like overwriting. You can pass the option
origin: -1
to append data to the worksheet (starting on the row after the last row)