html - Using CSS !important in ExtJS setFieldStyle() -


i'm trying use setfieldstyle on textfield in extjs. have css sheet sets style on background of field white !important. unfortunately, cannot modify sheet need way update in extjs.

i've tried using setfieldstyle('background: #000000'); add !important not run code.

any ideas?

setfieldstyle set style of input tag of field, input , field label wrapped in tag (usually table) using .getel() give outer element , can set style on this:

.getel().setstyle('background', '#000000 !important') 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -