本帖最后由 1225932566 于 2017-11-21 10:01 编辑
- var spread = GC.Spread.Sheets.findControl($('#ss')[0]);
- Tools.exportExcel(spread, $scope.unitName);
-
-
- Tools.exportExcel = function (spread, excelname) {
- var json = JSON.stringify(spread.toJSON({ includeBindingSource: true }));
- var tempSpread = new GC.Spread.Sheets.Workbook();
- tempSpread.fromJSON(JSON.parse(json)); //这里提示validator错误
复制代码
1.7z
(486.42 KB, 下载次数: 202)
|
|