0

How can I write this array to a row?

I've tried it with .map(), setValues(),etc and none of them has worked so far. This one write only the first element to the first column.

enter image description here

1 Answer 1

2

It should be:

.setValues([rowData])

and that is because you want to set multiple values (setValues) and you need to pass a 2D array [[]].

Sign up to request clarification or add additional context in comments.

1 Comment

To a beginner, this can get tricky! Thank you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.