For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > April 2005 > Re: [PEAR] DataGrid vs. Pager









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] DataGrid vs. Pager
Justin Patrin

2005-04-24, 8:56 pm

On 4/24/05, Larry Garfield <larry@garfieldtech.com> wrote:
> I've been looking at the docs for Structures_DataGrid and Pager.
> Frankly, I'm not sure what the practical difference is. Both seem to
> serve the same purpose; show a bunch of array rows in a tabular,
> pageable format. Is one better suited than the other for different
> cases? Perhaps someone who's used both can shed some light on what they
> offer differently, or if there is a difference. Thanks.
>=20


Structures_DataGrid uses Pager internally. Structures_DataGrid is a
system for sorting, paging, and displaying multiple records from a
variety or sources to a variety of output formats.

Pager is simply a pager. If you use Pager alone yuo have to do all of
the output yourself.

--=20
Justin Patrin
Dan Rossi

2005-04-25, 8:57 am

The standard datagrid pager uses html links, I tweaked a customer
pager to use image navigation instead :)


On 25/04/2005, at 6:23 AM, Justin Patrin wrote:

> On 4/24/05, Larry Garfield <larry@garfieldtech.com> wrote:
>
> Structures_DataGrid uses Pager internally. Structures_DataGrid is a
> system for sorting, paging, and displaying multiple records from a
> variety or sources to a variety of output formats.
>
> Pager is simply a pager. If you use Pager alone yuo have to do all of
> the output yourself.
>
> --
> Justin Patrin
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com