Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Row data not loading with getRows() function #665

Open
prasanjit101 opened this issue Nov 13, 2023 · 3 comments
Open

Row data not loading with getRows() function #665

prasanjit101 opened this issue Nov 13, 2023 · 3 comments

Comments

@prasanjit101
Copy link

image

I have a spreadsheet with data populated as above.
I am trying to load the row data. But complete data is not loaded. Only the first columns data are loaded for a row (as shown in below image).

image

@theoephraim
Copy link
Owner

Did you make sure to the header row to 4? (so it knows that this is where the important headers are)
Also what happens if you unmerge the cells in those top rows?

@prasanjit101
Copy link
Author

Yeah, in the SS the headerRow isn't set to 1 but with it even set to 4. The data is not loading.
Unmerging the cell might work but I wanted to retain the structure.
So the workaround that worked for me is using getCells instead of getRows.

@theoephraim
Copy link
Owner

without setting the header row to the row that contains the headers, it assumes you have a table of rows that only have 1 column - with the title "Marketing Activity Log". I suspect if you get that set correctly, it should work!

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

No branches or pull requests

2 participants