Wednesday, February 1, 2012

reload celltable data

Hi,

We are using a celltable with a ListDataProvider. The celltable is
defined via UiBinder.
When loading new data, the loadingindicator is not shown and the
celtable is not cleared.

When loading new data, we would like to reset the celltable and
dataprovider, something like this:

if (dataProvider.getDataDisplays() != null &&
dataProvider.getDataDisplays().isEmpty() == false) {
dataProvider.getList().clear();
dataProvider.removeDataDisplay(cellTable);
dataProvider.refresh();
cellTable.redraw();
}
cellTable.setLoadingIndicator(imageProcessing);

But it doesn't work!

Does anyone know how to reload data into a celltable and having the
loadingindicator shown again while the data is loaded ?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment