使用范围:UI2
Contents
component RadioGroup ($UI/system/components/justep/select/radioGroup) extends BindComponent
Constructor Top
RadioGroup () | |||
RadioGroup ( options) |
Properties Top
boolean |
disabled
禁用 | ||
string |
itemClass
项上增加的class | ||
string |
itemStyle
项上增加的样式 |
Attributes Top
string |
bind-itemset
显示项的数据绑定,通常指向Data组件 | ||
string |
bind-itemsetLabel
itemset中显示的列 | ||
string |
bind-itemsetValue
itemset中表示数据的列 | ||
string |
bind-ref
引用 | ||
string |
class
组件class | ||
boolean |
disabled
禁用 | ||
string |
xid
组件标示 |
Methods Top
Object | get (String name) | |
void | set (json arg) | |
void | val () |
Events Top
void | onChange (ChangeEvent event) |
Constructor details
Top
public
RadioGroup
()
使用场景:绑定选项数据集后,选择选项值、选项名对应的列即可生成单选组;绑定数据列后单选组的选择结果即可与数据集中数据关联;
##
文档链接:#http://docs.newdao.net/dan-xuan-zu-and-dan-xuan-zu-zu-he.html#
public
RadioGroup
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
public
RadioGroup
()
public
RadioGroup
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Properties Detail Top
public
boolean
disabled
禁用
public
string
itemClass
项上增加的class
public
string
itemStyle
项上增加的样式
Attributes Detail Top
public
string
bind-itemset
显示项的数据绑定,通常指向Data组件
public
string
bind-itemsetLabel
itemset中显示的列
public
string
bind-itemsetValue
itemset中表示数据的列
public
string
bind-ref
引用
public
string
class
组件class
基础样式: x-radio-group(必须), 尺寸样式: x-radio-group-lg、x-radio-group-sm、x-radio-group-xs 排列方式:x-radio-group-vertical
public
boolean
disabled
禁用
public
string
xid
组件标示
Methods Detail Top
public
Object
get
(String name)
获取属性值
public
void
set
(json arg)
设置属性值
public
void
val
()
给组件赋值或者取值
Events Detail Top
[回调型事件]值修改事件