Dave Cole <djc@object-craft.com.au> wrote:
> 
> >>>>> "Michael" == Michael C Neel <neel@mediapulse.com> writes:
> 
> Michael> All, The current Albatross system gives us "prev" and "next"
> Michael> links/buttons; but I was wondering if anyone had expanded
> Michael> upon this yet.  I'd like to add to the system "first",
> "last"
> Michael> as well as "now showing 20-29 of 354".  Extra credit will be
> Michael> page numbers, so you can jump right to page 8 in the result
> Michael> set and maybe some logic to group up the pages, like "1 2 3
> 4
> Michael> 5 10 20 30 40" and then when on page 25 "10 20 23 24 25 26
> 27
> Michael> 30 40".  I can start on this myself, but if there is
> Michael> something out there to use, leverage from I don't want to
> Michael> re-invent it.
> 
> That would be a nice addition to the pagination.  The current scheme
> allows you to paginate sequences without needing to know their
> length.
> By adding the "now showing 20-29 of 354" you would need to determine
> the length of the sequence.  Is that a problem?  I am not sure.

For the things which Andrew and I will be working on (fairly typical database 
reporting stuff), the number of records in the result set will be know, so no, not a 
problem. Certainly a good idea.

Tim C

