var sex_combo = new Ext.form.ComboBox({
width:220,
height:50,
typeAhead: true,
triggerAction: 'all',
lazyRender:true,
mode: 'local',
anchor:"46.5%",
store:new Ext.data.SimpleStore({
fields:["sex"],
data:[["male"],["female"]]
}),
valueField: 'sex',
displayField: 'sex',
fieldLabel:'aa'
});
width:220,
height:50,
typeAhead: true,
triggerAction: 'all',
lazyRender:true,
mode: 'local',
anchor:"46.5%",
store:new Ext.data.SimpleStore({
fields:["sex"],
data:[["male"],["female"]]
}),
valueField: 'sex',
displayField: 'sex',
fieldLabel:'aa'
});
解决方案 »
- 当点击某一行中某一个单元格的超链接时,使该行改变颜色?
- jquery幻灯片在chrome下的问题!!
- jqGrid getRowData 問題
- web 模态窗口返回值问题,急求!!!!
- 客户端从网络上怎么启动exe程序?
- 再问:Javascript如何实现点击某个图像时播放一段MP3?
- 为啥Label 事件执行2次?
- jQuery图片轮显的源程序的问题
- 哪位高手可以实现类似"谷歌个性化首页"那样的功能?
- UE打开VSS的文件出现乱码?但是签出文件又正常的问题。
- 关于easyui的datagrid的问题
- 在jquery 1.11.1版本中,如何实现jquery 1.9以下版本里面的toggle功能?
width:220,
height:50,
typeAhead: true,
triggerAction: 'all',
lazyRender:true,
mode: 'local',
anchor:"46.5%",
store:new Ext.data.SimpleStore({
fields:["sex"],
data:[["male"],["female"]]
}),
valueField: 'sex',
displayField: 'sex',
fieldLabel:'aa'
});
fields:["sex"],
加上<span>标签就出错了,还是不行啊,亲
你下面valueField设置的是sex,aa只是label,用来展示