when I add a delay of 1 sec before the reload it works.
So there must still be some sync problem...
What can I test next?
Magnus
-----
public void setFilter (UserFilter flt)
{
sel.setFilter(flt);
this.flt = flt;
//reload ();
delayedReload ();
}
public void delayedReload ()
{
Timer t = new Timer ()
{
public void run()
{
reload ();
}
};
t.schedule (1000);
}
public void reload ()
{
Range r = tbl.getVisibleRange();
tbl.setVisibleRangeAndClearData (r,true);
Pager p = getPager ();
p.firstPage();
loadRecordCount ();
}
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/tOYq7nEehw0J.
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