PDA

View Full Version : Doubt how to creat a new property



Rafael
15 May 2009, 7:28 AM
Ext.override(Ext.form.Checkbox, {
unchekedValue: function(value){
if( !this.checked ){
this.setValue = value;
return;
}
}
});

But not work, what is worry ?

evant
15 May 2009, 7:58 AM
Define "doesn't work".

Rafael
15 May 2009, 8:02 AM
xtype: 'checkbox',
fieldLabel: 'Agendar Visita',
align: 'left',
name: 'agendar_visita',
id: 'agendar_visita',
//inputValue: 1,
unchekedValue: 1,

the property

unchekedValuecreate for me this not being had access

Animal
15 May 2009, 9:01 AM
Eh?

Rafael
15 May 2009, 9:16 AM
Ext.override(Ext.form.Checkbox, {
unchekedValue: function(value){
if( !this.checked ){
this.setValue = value;
return;
}
}
});

unchekedValue dont load