标签:
{
                text: "附件类型", width: 150, dataIndex: ‘uploadType‘, sortable: true, align: ‘left‘,
                editor: {
                    allowBlank: false,
                    xtype: ‘constantsDictionaryCombo‘,
                    emptyText : ‘请选择附件类型‘,
                    data : CUSTOMER_ATTACH_FILE_ARRAY
                },
                renderer:function(value,p,r){
                    var store = this.columnManager.getHeaderByDataIndex(‘uploadType‘).getEditor().store;
                    var record = store.getById(value); //从字典中获取记录
                    if(record == null) {
                        return value;
                    }
                    return record.data.text;
                }
            }
ext grid 使用combo,不显示display显示value问题
标签:
原文地址:http://www.cnblogs.com/cocoat/p/5689538.html