Le mardi 3 mai 2011 18:25:00 UTC+2, karthik reddy a écrit :
>
> ...........
> .........
> <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.
>

That's simply not possible. The UiBinder parser doesn't look at attributes 
on the row/cell/customCell elements at all: 
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/uibinder/elementparsers/GridParser.java
 

-- 
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