I had AbsolutePanels with other Widgets added to it, but now I just
have one Widget in each. In other cases I used VerticalPanels instead
of AbsolutePanels to get access to the different Widgets in the rows.
Unfortunately I can't get the Widget of a Widget e. g. when I have a
ListBox inside a VerticalPanel and the VerticalPanel inside a
FlexTable by using flextable.getWidget(1,0).getWidget(0);, but it
works when I get the Widgets step by step and cast it in each step.

On Aug 17, 11:48 pm, Ian Bambury <[email protected]> wrote:
> 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 <[email protected]>
>
>
>
>
>
> > 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 <[email protected]> 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 [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