PDA

View Full Version : setvalue not work for htmleditor



tdikarim
24 May 2013, 12:25 AM
Hi All
I try to set value to an htmleditor with no success.
Extjs 4.1.1



items: [
{
allowBlank: false,
xtype: "htmleditor",
fieldLabel: "Note ",
id:"idNOTE",
name: "idNOTE",
height: 410,
anchor: '-40',
width: '100%',

,listeners: {
afterrender: function(){
Ext.getCmp('form_Note_VirtualKeyboard').getForm().setValues({
idNote: 'value1'
});
}
}

}

]


Thanks for your help

tdikarim
24 May 2013, 12:28 AM
That work's fine
Sorry

idNOTE and not idNote