请选择 进入手机版 | 继续访问电脑版
 找回密码
 立即注册

QQ登录

只需一步,快速开始

大家好

注册会员

2

主题

4

帖子

14

积分

注册会员

积分
14
  • 49

    金币

  • 2

    主题

  • 4

    帖子

最新发帖
大家好
注册会员   /  发表于:2022-7-27 15:31  /   查看:1479  /  回复:2

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);
  }
});

2 个回复

倒序浏览
大家好
注册会员   /  发表于:2022-7-27 15:48:26
沙发
已处理,this.sheet使用错了
回复 使用道具 举报
Lily.Xu
超级版主   /  发表于:2022-7-30 09:39:13
板凳
大家好 发表于 2022-7-27 15:48
已处理,this.sheet使用错了

这里是灌水区,建议您下次发到产品的求助中心,那里有技术顾问帮您哦。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部