首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

ExtJS4除了下拉框的光标(remove the cursor of combo)

2012-06-30 
ExtJS4去除下拉框的光标(remove the cursor of combo){id : brandId,name : brandId,xtype : combo,

ExtJS4去除下拉框的光标(remove the cursor of combo)

{

id : 'brandId',

name : 'brandId',

xtype : 'combo',

fieldLabel : '手机品牌',

labelWidth : 60,

store : brandStore,

queryMode : 'local',

displayField : 'name',

valueField : 'id',

editable : false,

emptyText : '请选择手机品牌',

layout : 'column',

listeners : {

//令下拉框在不可编辑状态下的光标消失

render: function(obj) {

this.inputEl.addListener('focus', function(event, htmlElement, options) {

htmlElement.blur();

});

}

}

}

热点排行
Bad Request.