I have encountered this problem myself. When the new data arrives, rather
than updating the CellList/Grid immediately, defer the update until the
current event loop has completed. For example:
private static void setRowDataDeferred(
final DataGrid<Consign> grid, final int start, final List<
Consign> values)
{
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
@Override
public void execute() {
grid.setRowCount(values.size(), true);
grid.setRowData(start, values);
}
});
}
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.