hezjing schrieb:
> OK, I don't want to pollute this mailing list with my messy codes and
> so, I thought showing the following callback is sufficient:
> 
>                 customersFlexTable.setText(row, 0, customer.getFirstName());
>                 customersFlexTable.setText(row, 1, customer.getLastName());
> 
> When a use selects a customer type from a ListBox, the ClickListener
> will make a RPC call and return a list of customers.
> I want to clear the existing customerFlexTable, and show only the data
> returned from the RPC call.
> 
> The problem now is that customersFlexTable.clear() seems not clearing
> the existing data.

I don't know if this a bug in FlexTable (I assume the developers
will read here as well), but the fastest solution would be to use

customersFlexTable.setText(row, 0, new Label(customer.getFirstName()));
customersFlexTable.setText(row, 1, new Label(customer.getLastName()));


Regards, Lothar

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