Skip to content

FIX: adding line higher than current maxRows will delete data in the sheet#2

Open
splohmer wants to merge 1 commit intomainfrom
splohmer-patch-1
Open

FIX: adding line higher than current maxRows will delete data in the sheet#2
splohmer wants to merge 1 commit intomainfrom
splohmer-patch-1

Conversation

@splohmer
Copy link
Owner

Currently if you use the function insertRow with an row index higher than maxRows - 1, will lead to data loss of the sheet data. This is because only in the case rowIndex <= maxRows - 1 the variable _data is filled, not in the other case. Later on the sheet data will be set with _data.

…sheet

Currently if you use the function insertRow with an row index higher than maxRows - 1, will lead to data loss of the sheet data.
This is because only in the case rowIndex <= maxRows - 1 the variable _data is filled, not in the other case. Later on the sheet data will be set with _data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant