this.sheet.setCellType(-1, this.colInfos.length - 1, cellType);
// 按钮单元格结束this.sheet.bind(GC.Spread.Sheets.Events.ButtonClicked, function (e, args) {
var sheet = args.sheet, row = args.row, col = args.col;
var cellType = that.sheet.getCellType(row, col);
console.log('cellType==', cellType);
console.log('sheet==', sheet);
if (cellType instanceof GC.Spread.Sheets.CellTypes.Button) {
console.log(row, col, cellType);
console.log('sheet', sheet);
}
});
|
|