向高山举目
珞珈的木野狐 · 共 2 篇文章
Extjs Combo控件 下拉选择之后的事件触发
combo控件的定义: items: [ { xtype: 'combo', id: "cbdomain", x: 60, y: 10, //27 width: 120, editable: false, store:getAllDomainstore, mode: 'remote', valueFiled: 'domdesc', displayField:'domdesc', allowBlank: false, enabled:false, triggerAction: "all", selectOnFocus : true, forceSelection : true } ] 添加se…
2010-06-24 20:00 · 评论(0)
Extjs Combo控件 下拉不能显示全部候选项的解决方法
例子: 在ViewPort.ui.js中有一个combo 控件初始化时,只能显示当前选中项,不能显示全部候选项。 1、按照网上google到的资料中显示,需要将triggerAction属性设置为"all",设置为"query",或者不设置都不能正常显示全部候选项。刚开始由于是静态绑定数据。设置triggerAction后该问题得到解决。如下: item:[ { xtype: 'combo', id: "cbdomain", x: 60, y: 10, width: 120, editable: false, store:[["telecom","telecom"],["animal","a…
2010-06-24 09:47 · 评论(0)