Here's a way to use Grid in UiBinder:
http://www.komacke.com/svn/trunk/gwt/widgets/UiBinderGrid/

It creates a subclass and adds the HasWidgets interface.  This
implementation requires you to specify the number of columns and then
every added widget becomes a new cell, wrapping at the number of
columns specified.  If you'd rather populate a left to right or rows
first, the logic should be easy to tweak.

Since Grid isn't supposed to be treated as a flex table, I imagine
it's low performance to define cells this way, and other drawbacks I
don't understand.  But you get to treat it as a Grid object.

Or, just make a <table> in uibinder.  :)

Davek

--

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-tool...@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.


Reply via email to