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

QQ登录

只需一步,快速开始

卿词。

金牌服务用户

9

主题

40

帖子

101

积分

金牌服务用户

积分
101
卿词。
金牌服务用户   /  发表于:2025-1-14 15:46  /   查看:84  /  回复:3
1金币
本帖最后由 卿词。 于 2025-1-14 15:48 编辑


// 使用单元格下拉框
        sheet.setStyle(1, 0, cellDropdown); //联系人
        sheet.setStyle(1, 1, cellDropdown); //owner
        sheet.setStyle(-1, 3, cellDropdown); //相关型号
        sheet.setStyle(-1, 4, cellDropdown); //品牌
        if (store.rfqPage == 2) { //个人询盘
            sheet.setStyle(-1, 6, cellDropdown); //采购
        }
        sheet.setStyle(0, 3, null); //清除




目前我使用了sheet.setStyle(0, 3, null); 来清除,但是没有效果,怎么去把第一行的下拉框按钮给去掉




最佳答案

查看完整内容

sheet.getCell(0,3).cellButtons(null)

3 个回复

倒序浏览
最佳答案
最佳答案
AKA_HSTS
注册会员   /  发表于:2025-1-14 15:46:50
来自 2#
sheet.getCell(0,3).cellButtons(null)

评分

参与人数 1金币 +500 收起 理由
Wilson.Zhang + 500 很给力!

查看全部评分

回复 使用道具 举报
卿词。
金牌服务用户   /  发表于:2025-1-14 16:07:41
3#
AKA_HSTS 发表于 2025-1-14 15:46
sheet.getCell(0,3).cellButtons(null)

可以了 谢谢
回复 使用道具 举报
Wilson.Zhang
超级版主   /  发表于:2025-1-14 16:17:12
4#
如有新问题,欢迎发新帖沟通。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部