initWorkbook: function (spread) {
this.spread = spread
spread.fromJSON(this.ssjson)
this.worksheet = spread.getActiveSheet()
this.worksheet.autoGenerateColumns = true
var person = { gcTable0: [] }
var source = new GC.Spread.Sheets.Bindings.CellBindingSource(person)
this.worksheet.setDataSource(source)
},
handleGetDate () {
var a = this.worksheet.getDataSource() // 这里获取不到输入的数据
console.log(a)
debugger
}
|
|