当前位置:网站首页>Sail soft implements a radio button, which can uniformly set the selection status of other radio buttons
Sail soft implements a radio button, which can uniformly set the selection status of other radio buttons
2022-04-23 16:10:00 【Huang ha ha~】
such as , Check an option of the radio button , The same option for other radio buttons is also selected ; deselect , Others have also been deselected
Select the box of the top radio button in the normal report to set the component , Click event , Click Add Event , Check status change .
Inside js as follows :
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();
}
}
This state can be achieved .
版权声明
本文为[Huang ha ha~]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231403371195.html
边栏推荐
- G008-HWY-CC-ESTOR-04 华为 Dorado V6 存储仿真器配置
- VIM uses vundle to install the code completion plug-in (youcompleteme)
- The system research problem that has plagued for many years has automatic collection tools, which are open source and free
- TIA botu - basic operation
- Grbl learning (II)
- 捡起MATLAB的第(6)天
- 捡起MATLAB的第(9)天
- Nanny Anaconda installation tutorial
- Unity Shader学习
- Ice -- source code analysis
猜你喜欢
C语言自编字符串处理函数——字符串分割、字符串填充等
Spark 算子之distinct使用
下载并安装MongoDB
Six scenarios of cloud migration
Spark 算子之sortBy使用
R语言中绘制ROC曲线方法二:pROC包
运维流程有多重要,听说一年能省下200万?
Spark 算子之groupBy使用
Hyperbdr cloud disaster recovery v3 Release of version 3.0 | upgrade of disaster recovery function and optimization of resource group management function
糖尿病眼底病变综述概要记录
随机推荐
Change the icon size of PLSQL toolbar
Upgrade MySQL 5.1 to 5.610
下载并安装MongoDB
MySQL - execution process of MySQL query statement
ES常用查询、排序、聚合语句
JIRA screenshot
GRBL学习(一)
保姆级Anaconda安装教程
Intersection, union and difference sets of spark operators
Countdown 1 day ~ 2022 online conference of cloud disaster tolerance products is about to begin
运维流程有多重要,听说一年能省下200万?
实现缺省页面
Compile, connect -- Notes
Filter usage of spark operator
Grbl learning (II)
Day (6) of picking up matlab
Es common query, sorting and aggregation statements
Questions about disaster recovery? Click here
Solution to the fourth "intelligence Cup" National College Students' IT skills competition (group B of the final)
Hypermotion cloud migration completes Alibaba cloud proprietary cloud product ecological integration certification