comobox property

来源:互联网 发布:奥巴马 编程一小时 编辑:程序博客网 时间:2024/06/16 06:36
 

dataprovider: 当用户点击下拉列表时会出现dataprovider所提供的列表值

labelField  :如果数据时对象类型,那么在默认情况下ComboBox组件会将对象中label属性的值显示在下拉列表中如果没有label的属性, 用户可以通过设置Combobox组件的labelField属性来决定下拉列表的显示字段。

prompt在combobox控件的textInput部分中显示的String,他通常是一个String值。如果没有提示则combobox控件会将selectedIndex设置为0并显示dataprovider中的第一个项目

arrayCollection([{label:" ",data:" "},{}])

tag in the example defines a label property that contains the string to display in the ComboBox, and adata property that contains the value that you want to submit for processing.

原创粉丝点击