只需一步,快速开始
35
4万
8942
论坛元老
developerML 发表于 2017-8-18 14:20 我这样试了一下,竟然第二行起作用了,奇怪
使用道具 举报
31
116
259
中级会员
liangyongfei 发表于 2017-8-18 13:48 确定代码执行了吗?? 试试按钮 点击事件中执行 data.setValue("checkbox",1); 是否生效??
developerML 发表于 2017-8-18 14:40 用这个办法实现我想要的目的,无论如何修改最后都是勾选
developerML 发表于 2017-8-18 14:57 不判断也行,效果一样 this.comp("assetlistdb").setValue("checkbox",0);
liangyongfei 发表于 2017-8-18 15:26 自己调试代码跟一下吧!你想什么时候赋值呢??逻辑是怎样的?? 不行就在点击事件中写代码 ...
developerML 发表于 2017-8-19 09:17 this.comp("assetlistdb").setValue("checkbox",1); 在checkbox的点击事件写这行也无法撤销用户取消 ...
liangyongfei 发表于 2017-8-22 13:48 this.comp("assetlistdb").setValue("checkbox",0); 取消勾选应该赋值为0才对吧!
developerML 发表于 2017-8-22 14:27 因为我要阻止用户取消勾选
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|X3技术论坛|Justep Inc.
GMT+8, 2025-7-8 00:58 , Processed in 0.049890 second(s), 21 queries .
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.