`
敲代码的小北
  • 浏览: 7219 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

Ext combox

 
阅读更多

 

 cerficicationData = [{

      'key' :'0', 'value' :'未查看'

         }, {

      'key' :'1', 'value' :'垃圾信息'

         }, {

       'key' :'2', 'value' :'待定考核'

         }, {

       'key' :'3', 'value' :'考核后无效'

          }, {

       'key' :'4', 'value' :'考核后有效'

           }, {

       'key' :'5', 'value' :'待定汇款'

           } , {

     'key' :'6', 'value' :'已经汇款奖励'

        }

 

 

 

cerficicationStore = new Ext.data.SimpleStore( {

fields : [ { name :'key', mapping :'key' }, { name :'value', mapping :'value' } ],

data : cerficicationData

      });   

 

     expBaseForm = new Ext.FormPanel( {

        url:"",

labelAlign :'right',

labelWidth :90,

frame :true,

bodyStyle :'padding:0px 0px 0',

items: [{

                id:'combo',  

fieldLabel:'审核状态',

xtype:"combo",

valueField:"key",

displayField:"value",

hiddenName:"hiddenValue",

width:200,

store:cerficicationStore,

 mode : 'local',

triggerAction : 'all'

 }

 ,{

    id:'remarkText',

             xtype     : 'textarea',

             grow      : true,

             name      : 'message',

            fieldLabel: '备注',

            width:180,

            height:150          

       }

 ]   

      });  

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics