Re: How to update PagingScrollTable?

2008-11-23 Thread Geraldo Lopes

I can't talk about the Timer because I never used one in gwt. If you
are using a PagingScrollTable with a CachedTableModel you need to
call :
yourCachedTableModelName.clearCache();
scrollTable.reloadPage();

Hope this helps,

Geraldo

On 21 nov, 10:34, DevUnion <[EMAIL PROTECTED]> wrote:
> Could anybody tell me how I can to update PagingScrollTable? From time
> to time data on the server is changed. Si, I want to use Timer to keep
> the table in actual state. I've tried something like this:
>
>         new Timer() {
>             public void run() {
>                 scrollTable.reloadPage();
>                 scrollTable.redraw();
>             }
>         }.scheduleRepeating(2);
>
> But it doesn't work.
>
> Thanks.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



How to update PagingScrollTable?

2008-11-21 Thread DevUnion

Could anybody tell me how I can to update PagingScrollTable? From time
to time data on the server is changed. Si, I want to use Timer to keep
the table in actual state. I've tried something like this:

new Timer() {
public void run() {
scrollTable.reloadPage();
scrollTable.redraw();
}
}.scheduleRepeating(2);

But it doesn't work.

Thanks.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---