How to change the background color of a control when it gets focus and when it looses focus?
How to change the background color of a control when it gets focus and when it looses focus?
Hi,
There are the Focus and Blur events, you could handle them.
To manage CSS rules on the fly you can use the Component addClass, removeClass methods.
http://docs.sencha.com/ext-js/3-4/#!...ethod-addClass
http://docs.sencha.com/ext-js/3-4/#!...od-removeClass