{ 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; } }

 

相关文章:

  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
相关资源
相似解决方案