Using FlexTable u can use the FlexTable.setWidget(row, column, WIDGET) where you want i.e.:
FlexTable t = new FlexTable();
t.setWidget(0, 0, new Button("W1"));
t.setWidget(0, 1, new Button("W2"));
t.setWidget(0, 2, new Button("W3"));
t.setWidget(1, 0, new Button("W4"));
t.setWidget(1, 1, new Button("W5"));
t.setWidget(1, 2, new Button("W6"));
t.setWidget(1, 3, new Button("W7"));
PS: there is setHTML(row, col, HTML) too i.e.:
t.setHTML(0, 0, "<a href="#" >Link 1</a>");
...
...
On Mon, May 26, 2014 at 5:01 PM, Kannan S <mail.kannan.s@gmail.com> wrote:
Hi All--
Is there any way to display say 7 items in 2 rows in GWT.
I also use GXT sencha. Is there a way to implement this in either GWT or GXT?
The values should be clickable with and URL embedded in it which should open a new page
Please advise
Kannan.S
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment