extjs:下拉框初始化(从后台读取数据)

var txtCommandType = uc.cboDic({
                    dicIndex: 'H0007',
                    name: 'commandtype',
                    fieldLabel: '指令类型',
                    allowBlank: false,
                    maxLength: 20,
                    listeners: {//选择一行后触发的事件
                     
                    }

                });
 //初始化
  txtCommandType.store.on('load',function(){
         txtCommandType.setValue('01');
   });

猜你喜欢

转载自blog.csdn.net/qq_36029699/article/details/80985030