PDA

View Full Version : Dynamic change of grid background



Joschy
10 Jun 2010, 7:39 AM
Hello!

I would like to change the total grid background with JavaScript. Therefore i have to modify the following ExtJS CSS:


.x-grid3

{

background-color:#eee;
....
}

Is there a way like:


grid.getView().style.background-color = '#aaa'


Thanks a lot for any idea!

Best regards,
Joschy