You should only ever have one widget in the cell. The method setWidget(int
row, int column, Widget widget) removes any existing widget.
I think you might need a design review ;-)

Ian

http://examples.roughian.com


2009/8/17 Tobe <tobias.jungnic...@googlemail.com>

>
> Ok, but in this case inside the (1,0) there can be some more Elements
> and always the last one is the nested FlexTable I need. I
> tried .getElement().getLastChild() but can't cast the received Node to
> a FlexTable.
>
> On Aug 17, 6:41 pm, Ian Bambury <ianbamb...@gmail.com> wrote:
> > Can we try this in words, not html :-)
> > You have an outer table with 'Insert' buttons in the even rows
> (0,2,4,...)
> > and child tables in the first column of the odd rows (1,3,...)
> >
> > To access the first child table, you use
> >
> > FlexTable inner = (FlexTable)outer.getWidget(1, 0);
> >
> > Ian
> >
> > http://examples.roughian.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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to