使用范围:UI2
Contents
component Select ($UI/system/components/justep/select/select) extends BindComponent
Constructor Top
Select () | |||
Select ( options) |
Properties Top
boolean |
disabled
禁用 |
Attributes Top
string |
bind-labelRef
显示名引用 | ||
string |
bind-options
下拉部分options的bind | ||
string |
bind-optionsCaption
无值时的提示信息 | ||
string |
bind-optionsLabel
options中的显示列 | ||
string |
bind-optionsValue
options中的值列 | ||
string |
bind-ref
引用 | ||
string |
class
组件class | ||
boolean |
disabled
禁用 | ||
boolean |
optionsAutoLoad
自动加载options数据 | ||
string |
xid
组件标示 |
Methods Top
Object | get (String name) | |
void | set (json arg) | |
void | val () |
Events Top
void | onChange (ChangeEvent event) |
Constructor details
Top
public
Select
()
使用场景:绑定下拉数据集后,选择下拉数据值、显示名对应的列即可生成下拉列表;绑定数据列后下拉列表的选择结果即可与数据集中数据关联;
##
文档链接:#http://docs.newdao.net/xia-la-lie-biao-and-xia-la-lie-biao-zu-he.html#
public
Select
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
public
Select
()
public
Select
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Properties Detail Top
public
boolean
disabled
禁用
Attributes Detail Top
public
string
bind-labelRef
显示名引用
public
string
bind-options
下拉部分options的bind
public
string
bind-optionsCaption
无值时的提示信息
public
string
bind-optionsLabel
options中的显示列
public
string
bind-optionsValue
options中的值列
public
string
bind-ref
引用
public
string
class
组件class
基础样式: form-control(必须), 尺寸样式: input-lg、input-sm
public
boolean
disabled
禁用
public
boolean
optionsAutoLoad
自动加载options数据
public
string
xid
组件标示
Methods Detail Top
public
Object
get
(String name)
获取属性值
public
void
set
(json arg)
设置属性值
public
void
val
()
给select赋值或者取值
Events Detail Top
[回调型事件]值修改事件