当前位置:网站首页>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
边栏推荐
猜你喜欢

Force buckle-746 Climb stairs with minimum cost

Grbl learning (I)

Hyperbdr cloud disaster recovery v3 Release of version 3.0 | upgrade of disaster recovery function and optimization of resource group management function

Day 9 static abstract class interface

Cloud migration practice in the financial industry Ping An financial cloud integrates hypermotion cloud migration solution to provide migration services for customers in the financial industry

299. 猜数字游戏

Implement default page

捡起MATLAB的第(5)天

How important is the operation and maintenance process? I heard it can save 2 million a year?

Questions about disaster recovery? Click here
随机推荐
Day (4) of picking up matlab
The most detailed knapsack problem!!!
Implement default page
Import address table analysis (calculated according to the library file name: number of imported functions, function serial number and function name)
Day (9) of picking up matlab
Oak-d raspberry pie cloud project [with detailed code]
Function summary of drawing object arrangement in R language
JSP learning 2
linux上啟動oracle服務
【第5节 if和for】
Es common query, sorting and aggregation statements
Start Oracle service on Linux
How important is the operation and maintenance process? I heard it can save 2 million a year?
Day (8) of picking up matlab
Jour (9) de ramassage de MATLAB
Grbl learning (II)
5分钟,把你的Excel变成在线数据库,神奇的魔方网表excel数据库
Ice -- source code analysis
捡起MATLAB的第(10)天
捡起MATLAB的第(2)天