Posted 31 May 2018, 1:24 pm EST
I’ve captured the new tab creation with the following code I found in another thread:
spread.bind(GC.Spread.Sheets.Events.SheetTabClick, function (e, info) { if (info.sheet === null && info.sheetName === null) { console.log("Detected new sheet."); spread.getActiveSheet().fromJSON(template); } });
The issue is that the second line which attempts to load the template doesn’t function correctly. Am I missing something?
