Posted 23 January 2019, 1:08 pm EST
Hi,
I using template by Spread Desinner
spread = new GC.Spread.Sheets.Workbook(document.getElementById(“ShowSpread”), { sheetCount: 1 });
, and get data to Speard then setDataSource to activeSheet
spread .getActiveSheet().setDataSource(data, false);// data is list object
In MVC view page not problem but when using export excel file not content data in excel file.
var json = JSON.stringify(spread.toJSON());
excelIO.save(json, function (blob) {
saveAs(blob, FileName);
//return old value;
spread = oldSpread;
}, function (e) {
if (e.errorCode == 1) {
alert(e.errorMessage);
}
});