Re: adding listener when scrollBar has finished scrolling

2009-04-07 Thread Arthur Kalmenson

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-incubators=google-web-toolkit-incubatori=PagingScrollTable)
in the gwt-incubator.

Regards,
--
Arthur Kalmenson



On Sun, Apr 5, 2009 at 12:57 PM, Shivi shivi.chan...@gmail.com 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 Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: adding listener when scrollBar has finished scrolling

2009-04-07 Thread matttai

I know that the above post might provide a solution for the user's
problem, but i'm actually interested in detecing when a scrollBar
reaches the bottom of a page as well to implement something like:

When user scrolls to the very bottom of the page popup with message X.

Thanks.

On Apr 7, 11:48 pm, Arthur Kalmenson arthur.k...@gmail.com wrote:
 Why don't you just use an IncrementalCommand
 (http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g...)
 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-incubators=go...)
 in the gwt-incubator.

 Regards,
 --
 Arthur Kalmenson



 On Sun, Apr 5, 2009 at 12:57 PM, Shivi shivi.chan...@gmail.com wrote:

  I need to add alistenerto the scroll bar when ithasfinished
 scrolling.

  This is because sometimes user scrolls down fast and sometimes user
  could bescrollingslowly.

  Mylistenerto thescrollbarpopulates 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 addlistenerto
 scrollBarat that time. I only want to add thelistenerafter fast
 scrollinghasfinished.

  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 Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



adding listener when scrollBar has finished scrolling

2009-04-05 Thread Shivi

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 Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---