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