On Thursday 02 April 2009 10:19:59 Suren wrote:
> Hi Nicanor,
>
> Thanks for the reply.
>
> So, lets assume, I am going for the partial rows display in the
> beginning and adding more rows when I scroll..
>
> In this case, Should there be a rendering issue? like when I scroll,
> untill the population is being done, the screen will hang or it will
> be blank in the end portion of the table right?
The scrolled portion of the page could display "loading data.. please wait.
The onScroll events are fired for every pixel, so you could make an algorithm
that populates your table every delta_pixels_scrolled. And here again: What if
the user scrolls a large amount of pixels? Well, you could implement some sort
of stack. Every delta_pixels_scrolled you add to your stack the loading
requests. After that, with a timer you execute all the stacked loading
requests. This way you should be able to avoid the "stop script" message. This
is my idea.
>
> and I thought of one more way like, Display the rows that will fit to
> the screen in the beginning and add the rows in the background. Is
> that possible? I 've read about BulkRenderer or Preloaded table..
>
> Could you please gimme any clues about those?
I never used those objects.. I prefer using only gwt-original objects. And if
I need something special I just implement it myself.
>
> Thanks
The pleasure is mine.