Skip to content

AddRows randomly adding (or trying to) at row 0. #671

@PRossESA

Description

@PRossESA

Sometimes sheet.addRow / addRows works most the time it tries to write on my header row which I had to protect from the user the api uses to try and write to the sheet.

Sometimes, rarely it works and then just reverts back to attempting to write on the first row again, where my headers are (which are protected). The sheet has about 60 rows in it other than that. Updating the rows works fine.

If I console sheet.headerValues or write a recordcount before the line before the addRow, they both show what they should, the sheet is aware of data and headers..

I tried using the insert;true arg and that works but inserts ABOVE the headers. I want to append to the bottom of the sheet though.

help? Seems odd that it's very inconsistent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions