DataGrid uses a CustomScrollPanel for its data table. Such panel uses 
transparent-style native scrollbars, but the resources used 
(NativeVerticalScrollbar.ResourcesTransparant) are hardcoded in the 
CustomScrollPanel constructor. I guess you can:

- extend the DataGrid to obtain a reference of the inner CustomScrollPanel. 
See [1] on how to do that;
- extend the default NativeVerticalScrollbar.ResourcesTransparant to 
provide your own style (or use the no-op NativeVerticalScrollbar.Resources 
to remove any opacity);
- in the extended DataGrid constructor, after super(), use the 
CustomScrollPanel reference to set up a new scrollbar using the method 
setVerticalScrollbar(...) passing in a new NativeHorizontalScrollbar with 
your new resources.

The same applies for the horizontal scrollbar.

Or you can look at the DOM and figure out some hack to obtain the scrollbar 
container (as you tried).

[1] 
https://groups.google.com/forum/#!msg/google-web-toolkit/cdB07DEtmXU/9TNb72MI3Q4J

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to