我想在 DisplayField 中将“Labelxx”更改为“新标签”。我怎样才能做到这一点?下面是我的代码:
MyFormUi = Ext.extend(Ext.form.FormPanel, {
title: 'Rates ',
id: 'id_form',
initComponent: function() {
this.items = [{
xtype: 'displayfield',
fieldLabel: 'Labelxx',
anchor: '100%',
name: 'name_lb',
ref: 'localCurrencylbl',
id: 'id_lb'
}];
MyFormUi.superclass.initComponent.call(this);
}
});