Thanks for your quick (and detailed) response; I really appreciate it.
From what I can tell looking at the API, the pager is built right into
the CellList (as opposed to being a separate widget that can be
optionally provided). Am I missing something? I don't mind mucking
around with the source code (I've done it already with
SplitLayoutPanel, which has a hardcoded splitter width/height that I
needed to change). I just want to make sure that I go about this the
right way.
I am fairly determined to get rid of external dependencies to SmartGWT
for many reasons. So it is very likely I will need to implement some
form of infinite scrollbar.
Thanks,
Andrew Arnott
On Nov 18, 4:02 pm, John LaBanca <
jlaba...@google.com> wrote:
> The scroll bar is separate from the CellList. Its actually an
> implementation of a pager and is more a proof of concept until we have a
> proper infinite scrollbar.
>
> You can prepopulate a CellList with nulls or default values until you have
> data available. As far as populating them when you scroll into view, you
> would need to implement your own scrolling pager to figure out which data
> should be visible, but you can push data into a CellList at any time. At
> some point we will probably implement an infinite scrollbar, but it isn't on
> the agenda in the near term.
>
> Thanks,
> John LaBanca
>
jlaba...@google.com
>
> On Thu, Nov 18, 2010 at 3:52 PM, aarnott <
andrew.wj.arn...@gmail.com> wrote:
> > Hi there,
>
> > I've been using the SmartGWT library mainly for the ListGrid (which is
> > similar to the CellList). The problem is, the SMartGWT library comes
> > with a massive footprint (even when it is gzipped). The performace of
> > our site has been terrible ever since we introduced the ListGrid, but
> > on the other hand, it is pretty much a requirement.
>
> > I was very excited to see the CellList Widget bundled with the 2.1
> > release, but looking at the samples, I find the fetch behavior a
> > little awkward. First the List may fetch, say, 50 rows. The scrollbar
> > will represent a list with 50 rows. When you scroll to the bottom, new
> > rows are fetched and the scrollbar contents area increases to
> > accommodate the new rows. This variable sizing seems awkward.
>
> > I know the total number of rows my list can have. Is there any way I
> > can pass this information on to the CellGrid and have it prefill the
> > unseen areas with blank space and update them when they are scrolled
> > to?
>
> > Thanks,
>
> > Andrew
>
> > --
> > 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-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
google-web-tool...@googlegroups.com<
google-web-toolkit%2Bunsu...@googlegroups.com>
> > .