Mike
Mike

Reputation: 65

In a Google Spreadsheet Gadget, how to write to the spreadsheet?

I am writing a gadget to be embedded in a Google Spreadsheet. Reading data using the visualization API (i.e. google.visualization.QueryResponse object) works fine, however I also need to amend some data in the spreadsheet from within the gadget.

Though having searched for it for a while, I have not found a way to do that. Does anybody know how I can modify a spreadsheet from within a gadget (basically Javascript running inside the spreadsheet)?

Upvotes: 2

Views: 462

Answers (1)

Antonio
Antonio

Reputation: 381

 sheet.getRange(1, 1).setValue('your value');

Upvotes: 1

Related Questions