You can push new data into the widget using CellTable#setRowData() in
conjunction with CellTable#setRowCount().  If you want to clear the data
first, do the following:
myCellTable.setRowCount(0); // Clears all data
myCellTable.setRowCount(20, true); // Set the size of the new data
myCellTable.setRowData(0, myData); // Set the new data

In GWT 2.1.1, there is a new method CellTable#setRowData(List) that clears
all existing data and replaces it with the specified list.

Thanks,
John LaBanca
[email protected]


On Mon, Nov 8, 2010 at 5:13 AM, alf <[email protected]> wrote:

> we are render a celltable widget nice when i push a boton. the
> problems is when i will push the botton again i create other widget
> and adding. How can clear all item adn populate the sam widget with
> new datas.
>
> thanks and excuse for by bad english ans newbie question i have spent
> hours fiding examples in doc
>
> al
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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