当前位置:网站首页>帆软实现一个单选按钮,可以统一设置其他单选按钮的选择状态
帆软实现一个单选按钮,可以统一设置其他单选按钮的选择状态
2022-04-23 14:04:00 【黄哈哈~】
比如,选中单选按钮的一个选项,其他单选按钮的相同选项也被选中;取消选择,其他的也被取消选择
在普通报表中选中最上方的单选按钮的框进行组件设置,点击事件,点击添加事件,选中状态改变。
里面的js如下:
var a = this.getValue();
var status = contentPane.getWidgetsByName(“status”);
if(status.length>0){
$.each(status,function(i,item){
var cell = item.options.location;
if(a.length0){
item.reset();
}
contentPane.setCellValue(cell,null,a);
})
}else{
contentPane.setCellValue(“B2”,null,a);
if(a.length0){
contentPane.getWidgetByName(“status”).reset();
}
}
可以实现该状态了。
版权声明
本文为[黄哈哈~]所创,转载请带上原文链接,感谢
https://blog.csdn.net/Miss_HuangT/article/details/109198594
边栏推荐
- log4j 输出日志信息到文件中
- Quartus Prime硬件实验开发(DE2-115板)实验二功能可调综合计时器设计
- 分页SQL
- nodejs通过require读取本地json文件出现Unexpected token / in JSON at position
- Problems encountered in the project (V) understanding of operating excel interface poi
- visio安装报错 1:1935 2:{XXXXXXXX...
- Three point positioning based on ibeacons (wechat applet)
- Interesting talk about network protocol
- Elmo (bilstm-crf + Elmo) (conll-2003 named entity recognition NER)
- Spark入门基本操作
猜你喜欢
Lin Lin, product manager of Lenovo: network failure of local network operator in Tianjin. The background server of Zui system can't work normally for the time being
Quartus Prime硬件实验开发(DE2-115板)实验一CPU指令运算器设计
Nifi 快速安装及文件同步操作
Crontab timing task output generates a large number of mail and runs out of file system inode problem processing
Basic knowledge learning record
Node接入支付宝开放平台的沙箱实现支付功能
关于pthread多线程一些好文章
Wechat applet obtains login user information, openid and access_ token
There is a mining virus in the server
Prediction of tomorrow's trading limit of Low Frequency Quantization
随机推荐
Oracle alarm log alert Chinese trace and trace files
容差分析相关的计算公式
使用Postman进行Mock测试
分库分表 & ShardingSphere
Go语言 RPC通讯
pthread_self()为何重复了
RobotFramework 之 文件上传和下载
微信小程序setInterval定时函数使用详细教程
Chapter I review of e-commerce spike products
理解虚基类、虚函数与纯虚函数的概念(转)
MySQL 修改主数据库
Promtail + Loki + Grafana 日志监控系统搭建
scikit-learn構建模型的萬能模板
STM32学习记录0007——新建工程(基于寄存器版)
CDH cluster integration Phoenix based on CM management
网站_收藏
浅谈基于openssl的多级证书,Multi-level CA的签发和管理,以及双向认证
Quartus Prime硬件实验开发(DE2-115板)实验一CPU指令运算器设计
L2-024 tribe (25 points)
CentOS mysql多实例部署