PDA

View Full Version : DataView styles form extjs3 to extjs4



marogalli
13 Mar 2012, 3:07 AM
I have an application running in Extjs3. I use DataView with custom styles, for example :


<input type="button" value="FECHAR" class="mybutton"></input>

When I go to my page in 3 I can see that the applied styles is relative to "input.mybutton". In extjs4 I have the same, but now the applied style is relative to "input.ext-gen1095.mybutton", and my style can not be applied.

Is there a way to avoid this situation and have custom css in my .css files?

tks

marogalli
13 Mar 2012, 4:03 AM
I found the problem was the case. In my css the case was .myButton. In extjs3 I had no problem with this selector, but in 4 just worked using the correct case.

Tks