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 <[email protected]> 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/thread/b8bcecbd4040a262/e35f379ec5805f29?lnk=gst&q=shivi# > > > 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 <[email protected]> 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 [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 -~----------~----~----~----~------~----~------~--~---
