Hi David,

Thanks for the information, that might be just what I am looking for. If I come 
up with something generic enough to be of interest to other people, I will post 
back here. Thanks also for the tip about the scrollbar.

Davide


-----Original Message-----
From: David Diaz [mailto:d...@viddiaz.com] 
Sent: Friday, February 10, 2017 22:15
To: Tapestry users <users@tapestry.apache.org>
Subject: Re: Implementing a "bottomless" grid

Hi Davide,

Try checking out https://github.com/eddyson-de/tapestry-extensions, this might 
have what you are looking for (InfiniGrid), or at least give you an idea on 
what you need to do.

If you want the grid to be in it's own scrollbar, you should put it in a <div> 
and then set the height to be some fixed height, and give it the style 
overflow-y: scroll;.

Thanks,
David.

On Sat, Feb 11, 2017 at 2:58 AM, Davide Vecchi <d...@amc.dk> wrote:

> Hi everybody,
>
> Before starting to code this myself, I'm trying to find out if there 
> already exists some component or mixin to apply to the grid to do 
> something similar, or if Tapestry has support for this in other ways. 
> Also, any thought about this subject would be welcome.
>
> By "bottomless" I mean a grid that doesn't have the GridPager with the 
> page numbers the user can click to paginate through the list of rows, 
> and instead it has a clickable "Load [N] more rows" element that will 
> append to the currently displayed rows the next N rows found in the 
> datasource. Also a clickable element to go directly to the end of the list 
> would be useful.
>
> The grid would have its own vertical scrollbar. If the scrollbar 
> itself causes the loading of the next rows when scrolling to its 
> bottom, that would be OK and in that case I wouldn't need the "Load 
> more rows" clickable element.
>
> There might be more grids in the same page, so each grid must be in 
> its own zone and its rows be scrollable independently, without having 
> to scroll the page itself.
>
> Thanks for any possible thought.
>

Reply via email to