PDA

View Full Version : Add new config properties to a Field



taxidriver
19 Nov 2010, 5:20 AM
I have an Ext.form.Checkbox component and want to set some extra properties:

var _check = Ext.getCmp('checkboxIDi');
Ext.apply(_check,{labelStyle: 'color:red'});

Although the property labeStyle has been applied, as I can see from the dom tree with firebug, it has not been updated in the display.

How can I force an update for this component?