Hi Oskar
Unfortunately the clear() does not work, the Javadoc explained that clear()
removes all widgets from the table, but does not remove other HTML or "text"
contents of cells.


On Thu, Oct 2, 2008 at 4:16 PM, obesga <[EMAIL PROTECTED]> wrote:

>
> myFlexTable.clear()
>
> will remove the widgets on the table, I don't now if this will be
> usefull to you
>
> Or simlpy remove the flextable from the parent widget and atach a new
> flextable
>
> Oskar
>
> On 2 oct, 09:55, 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
> >
>


-- 

Hez

--~--~---------~--~----~------------~-------~--~----~
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