I wanted to change the styles like color, font size, background, etc of an element or extJS widget using following code but none works:
Ext.get('mydivid').setStyle({.......}); // does not work
Ext.get('mydivid').applyStyle({.......}); // does not work
Ext.select('mydivid').applyStyle({.......}); // does not work
Ext.query('.myclass').applyStyle({.......}); // does not work
And for extJs widget I tried using Ext.getCmp
.
Does anyone know how to change the styles of an html element and extJS widget using extJS and not CSS?