Where are the styles defined? For example, if they are defined in the actual ui.xml file then shouldn't they be somthing like:

 addStyleNames="{style.OddNumberRow}" etc?

Regards

Alan

On 5/3/2011 9:25 AM, karthik reddy wrote:
...........
.........
<g:row addStyleNames="OddNumberRow">
....
....
</g:row>
<g:row addStyleNames="EvenNumberRow">
....
....
</g:row>
...........
...........
The above approach is not working. In other words, the "tr" elements in the
generated html do not have any class names at all. A back up option would be
to inject styles into these rows from the UiBinder's constructors (using
getRowFormatter.addStyleName) but
I do not want to take that route for now.(I wanna try to  reserve the code
that goes into the UiBinder java class for event handling purposes only. )

Any thoughts/pointers would be much appreciated.


Note:Cross posted at
http://stackoverflow.com/questions/5864348/grid-uibinder-setting-row-level-styles

thanks


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

Reply via email to