Say I have 2 sheets in my Spreadsheet component.
This issue only occurs before the user visits the second sheet.
I have a value on that second sheet that I want to programmatically retrieve.
Here is what I had in mind:
var yearMonth = this.spreadsheetObj.getDisplayText(getCell(2, 2, this.spreadsheetObj.sheets[5]));
console.log('yearMonth: ' + yearMonth);
This is on initial page load, I try to get the value with that code.
This is after visiting the sheet.
It is as though the user must visit the sheet for the component to know what the value is.
Thanks