Re: Styling rows in CellTable

2011-01-16 Thread frank
Thanks, I´ll try both methods

Frank

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



Re: Styling rows in CellTable

2011-01-15 Thread John LaBanca
Alternatively, you can add !important to you CSS styles to ensure they take
precedence.

.myStyle {
  backgound: blue !important; // Takes precedence because it is important
}
.myStyle {
  backgound: red;
}
.myStyle {
  backgound: green; // Takes precedence over red because it appears after,
but blue still take precedence over green
}

Thanks,
John LaBanca
jlaba...@google.com


On Sat, Jan 15, 2011 at 4:40 PM, Thomas Broyer  wrote:

> If CellTable's default styles get in your way, you'll have to replace them
> with yours: create an interface extending CellTable.Resources and override
> the cellTableStyle() method to assign it a new @Source in which you'll put
> your own styles. Then, GWT.create() that new interface and give it to
> CellTable's constructor.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: Styling rows in CellTable

2011-01-15 Thread Thomas Broyer
If CellTable's default styles get in your way, you'll have to replace them 
with yours: create an interface extending CellTable.Resources and override 
the cellTableStyle() method to assign it a new @Source in which you'll put 
your own styles. Then, GWT.create() that new interface and give it to 
CellTable's constructor.

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



Styling rows in CellTable

2011-01-15 Thread frank
Hi,

I tried to stye a row in a Celltable with .setRowStyles in which I add
the class "SERVERROUNDTRIP"

I can find the new attached class in the generated html output.


The Problem is, in the generated HTML file there is a