码迷,mamicode.com
首页 > Web开发 > 详细

ExtJs中Combo组件默认选中

时间:2020-03-05 09:11:37      阅读:90      评论:0      收藏:0      [点我收藏+]

标签:setvalue   owb   record   label   tst   name   enc   load   list   

{ xtype: ‘commonTypeCombo‘, name: ‘companyCode‘, reference: ‘companyCode‘, fieldLabel: bizI18n_hr.hrMdMat.companyCode, typeId: ‘HR_COMP_CODE‘, allowBlank: true, listeners: { render:function (combo) { combo.getStore().on(‘load‘,function (store, record) { combo.setValue(record[0].get(‘typeId‘)) }) } } }

ExtJs中Combo组件默认选中

标签:setvalue   owb   record   label   tst   name   enc   load   list   

原文地址:https://blog.51cto.com/11147669/2475501

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!