Re: Why doesn't com.google.gwt.user.client.ui.Grid have a style name?
A hint may come from UiBinder. I haven't found a way to use Grid in
UiBinder, and have to use the table instead, which is more intuitive
in that framework. But because it is a table, the table style doesn't
really do much for the individual table rows and table data, so
specifying global style on <table> tag could be misleading and maybe
that's why it's left null? I'm not an expert in this, but it's a
hunch..
On Dec 25, 8:04 am, Paul Grenyer <paul.gren...@gmail.com> wrote:
> Hi
>
> If i do this:
>
> Grid g = new Grid(rows,columns);
> String s1 = g.getStyleName();
> String s2 = g.getStylePrimaryName();
>
> both s1 and s2 are empty strings. This isn't true of other controls
> such as TextBox, etc.
>
> Any ideas?
>
> --
> Thanks
> Paul
>
> Paul Grenyer
> e: paul.gren...@gmail.com
> b: paulgrenyer.blogspot.com
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home