-
Bug
-
Resolution: Fixed
-
Normal
-
5.10.0
-
None
-
Security Level: Jimmy
-
None
Steps to Reproduce
1. click "Update and Show" button
Current Result
no values in cells
Expected Result
there should be 10 cells with 1
Debug Information
- Spreadsheet.update(), getActiveRangeHelper().containsSheet(sheet) return false, since the spreadsheet is never rendered in a browser, so there is no active range to render.
- From the point of view of Keikai API users, they should not need to consider the internal state of a spreadsheet to call notifyChange(). The Spreadsheet should be responsible for taking care of the client rendering. For example, the spreadsheet should invalidate/render the whole sheet, when a spreadsheet is visible but has no active range (like rendering at the first time).
Workaround
- Ranges.range(ss.getSelectedSheet()).notifyChange();
- spreadsheet.invalidate();