The original version doesn't show a vertical scrollbar and doesn't load new data when I attempt to move past the bottom of the first page, so all I ever see is a single page of names out of the 1000 names in the list. The tiny change I posted appears to have fixed that, although I have no clue what difference it made or why.
On Jun 10, 10:21 pm, Qian Qiao <[email protected]> wrote: > On Sat, Jun 11, 2011 at 01:00, Jim Douglas <[email protected]> wrote: > > Can you elaborate on that a bit? How would you change that sample? > > > On Jun 10, 9:13 pm, Qian Qiao <[email protected]> wrote: > >> On Fri, Jun 10, 2011 at 20:54, Jim Douglas <[email protected]> wrote: > >> > Thanks for the response, Joe. > > >> > I'm sure the general idea is the same, but the UiBinder stuff is > >> > gibberish to me; translating UiBinder code to traditional code is > >> > making my head hurt. > > >> > I *think* I copied all of the relevant pieces out of the sample, but > >> > I'm clearly missing something. I get a page of items, but the > >> > ScrollPanel doesn't appear to be working. Does anything in this jump > >> > out at you as obviously wrong? > > >> >[snip] > > >> > On Jun 10, 5:26 pm, Qian Qiao <[email protected]> wrote: > >> >> On Fri, Jun 10, 2011 at 14:57, Jim Douglas <[email protected]> wrote: > >> >> > I thought it would be a trivial matter to build a scrolling CellList > >> >> > like the one in the showcase: > > >> >> >http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList > > >> >> > But I need to work with hand-coded GWT Widgets, and that sample is > >> >> > based on UiBinder. Can anyone point me to a sample like the one in > >> >> > the showcase (a large scrolling list) that does not use UiBinder? The > >> >> > documentation isn't helpful; it's all based on trivial samples like > >> >> > days-of-the-week that don't require scrolling. > > >> >> The idea's the same regardless of the usage of uibinder isn't it? the > >> >> basic idea is to put the celllist inside a scrollpanel, and then > >> >> listen to scroll events on the scrollpanel, once you reach the bottom, > >> >> load more data. > > >> >> -- Joe > > >> You haven't given the cellist a data provider, that's why :) > > Just had another look at your example, it shouldn't even need a data > provider, could you be a bit more specific on what the problem is? > > -- Joe -- 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.
