Why don't you just use an IncrementalCommand
(http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/IncrementalCommand.html)
to populate the list instead. This doesn't lock up the browser and
lets you populate the whole table.

Better yet, check out the PagingScrollTable
(http://code.google.com/docreader/#p=google-web-toolkit-incubator&s=google-web-toolkit-incubator&i=PagingScrollTable)
in the gwt-incubator.

Regards,
--
Arthur Kalmenson



On Sun, Apr 5, 2009 at 12:57 PM, Shivi <[email protected]> wrote:
>
> I need to add a listener to the scroll bar when it has finished
> scrolling.
>
> This is because sometimes user scrolls down fast and sometimes user
> could be scrolling slowly.
>
> My listener to the scrollbar populates rows of a flexTable as the user
> scrolls.
> When  a user scrolls slowly, then it is good to see those rows getting
> populated.
>
> But when the user scrolls down fast, I don't want to add listener to
> scrollBar at that time. I only want to add the listener after fast
> scrolling has finished.
>
> How can I implement this?
>
> Thanks in advance for your help
>
> >
>

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