0

Can anybody tell me how to change boxLabel for Radio button in extjs4.1?

When I have this in the controller:

radio3.boxLabel=year

Illidanek
  • 996
  • 1
  • 18
  • 32
mohan
  • 13,035
  • 29
  • 108
  • 178

1 Answers1

0

Try radio3.boxLabelEl.update(year).

kevhender
  • 4,285
  • 1
  • 13
  • 16
  • when i have given this radio3.boxLabelEl.update(year) getting error caught TypeError: Cannot call method 'update' of null – mohan Jun 21 '13 at 11:19
  • What is `radio3` defined as? It has to be set as the actual `Ext.form.field.Radio` component for this to work. – kevhender Jun 21 '13 at 12:17