That depends on the nature of the parent. For example, with a
SimplePanel as parent, you wouldn't.
On Oct 2, 10:27 am, "olivier nouguier" <[EMAIL PROTECTED]>
wrote:
> Hi,
> IMHO it's also necessary to remove the "old" myFlexTable from is parent ?
> no ?
>
>
>
>
>
> On Thu, Oct 2, 2008 at 3:20 PM, walden <[EMAIL PROTECTED]> wrote:
>
> > Yes there is.
>
> > myFlexTable = new FlexTable();
> > // code to plug the new instance in where the old instance used to be
>
> > Walden
>
> > On Oct 2, 3:55 am, hezjing <[EMAIL PROTECTED]> wrote:
> > > Hi
> > > I'm populating a FlexTable using setText(row, column, text).
>
> > > Here is what I did to clear the entire contents of a FlexTable,
>
> > > int count = myFlexTable.getRowCount();
> > > for (int i = 0; i < count; i++) {
> > > myFlexTable.removeRow(i);
> > > }
>
> > > Is there a more elegant way to clear a FlexTable?
>
> > > Thank you!
>
> > > --
>
> > > Hez
>
> --
> "Quand le dernier arbre sera abattu, la dernière rivière asséchée, le
> dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas
> comestible"
> - proverbe indien Cri- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---