Take the 2-minute tour ×

I'm using a datagrid with its default scrollPanel which set "opacity" to "0.7".

I want to change the opacity to "1" but the ScrollPanel is just created by some "div", not using "CSS" resources. So, I could not override any CSS resource also CSS attribute.

Please suggest me how to change the "opacity".


share|improve this question
add comment

1 Answer

Even though it its setting in some div element you can set the opacity in css... In your css type the following

.gwt-scrollpanel {
Opacity : 1.0 !important;
share|improve this answer
Thanks, but scrollPanel of the DataGrid does not use gwt-scrollpanel. It is just two <div>, so I used "DOM.setElementAttribute" to update the Opacity and saw it takes effect. –  Xuna Jan 17 '12 at 3:03
add comment

Your Answer


