Something like:
interface MyDataGridResources extends DataGrid.Resources {
@Override
@Source({DataGrid.Style.DEFAUL_CSS, "yourCustomStyle.css"})
DataGrid.Style dataGridStyle();
}
By merging the DataGrid default css with your custom css you don't have to provide all css classes in your own file and can selectively overwrite the defaults.
-- J.
Am Montag, 5. März 2012 19:35:41 UTC+1 schrieb Marco:
Hi,
is there a way to change global the selection color of gwt datagrid? I
added following css-format in the main-app-css file:
.dataGridSelectedRow {
background: #1EDA17;
color: white;
height: auto;
overflow: auto;
}
I have seen also following link:
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/ DevGuideUiCss.html
Sadly my change had no effect. Do I miss any setStyleName() call?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/cFgm0_UA7YQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment