I load the images like this:- Image img = new Image(url); I don't want to use the ImageBundle because this is the point of the project...you only load images as the user scrolls up or down ..slow and fast etc.
I know about the paging toolbar solution but I need to implement this using scrolling. You can say this is my client's requirement (i.e the project's supervisor's requirement). The reason I am trying to do this is because it is new and hasn't really been seen in websites using AJAX. So is there no way I could find out which images of the flexTable the user can see? Thanks a lot for your help. Shivi On Apr 7, 6:44 pm, Arthur Kalmenson <arthur.k...@gmail.com> wrote: > How are you loading the images? Are you retrieving them from the > server one by one? That sounds like a lot of round trips, which is why > ImageBundle was created. With ImageBundle, the images are downloaded > once and cached forever (until the bundle is changed). > > I'm not sure how you would check to see which images the user can see, > but you might want to look at a different solution. For these > particular problems, a common solution is to implement some kind of > paging solution. Thereby, you only load only a certain number of rows > at a time, and people can page through them if they want additional > results. > > P.S. Please reply to the group and not directly to me. > -- > Arthur Kalmenson > > On Tue, Apr 7, 2009 at 10:20 AM,Shivi<shivi.chan...@gmail.com> wrote: > > hi > > > No I don't want to figure out if I need a scrollbar or not. I know my > > scrollbar is viewable as I have a list of 100 items in a flexTable. > > > What I'm actually trying to achieve is this- > > >http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > > I know the view port will be different from user to user but I can > > make assumption that the user's browser window is in the normal > > maximised view. > > > As user scrolls down , depending on the rows that are visible in the > > view -port I need to populate Images in the column of FlexTable . > > > so from a list of products(say 100 rows, left col shows images , right > > col shows product information) in the flexTable if the 50, 51 and 52 > > are visible to the user (in his view-port) and then if he scrolls down > > fast and reaches the 70,71 and 72nd row of flexTable I want to display > > those corresponding Images in the table. > > > I don;t want to display all Images in one go as the table is loaded. > > This way i'm trying to save on network load. > > > Thanks > > > On Apr 7, 2:42 pm, Arthur Kalmenson <arthur.k...@gmail.com> wrote: > >> What are you trying to achieve here? What the user is able to view > >> will depend on their resolution, the size of their browser window, > >> etc. Are you trying to figure out if you need a scroll bar or not? > > >> -- > >> Arthur Kalmenson --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---