Re: DataGrid vs. Pager
| From: | Dan Rossi | Date: | Mon, 25 Apr 2005 09:40:03 +0000 |
| Subject: | Re: DataGrid vs. Pager | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18943@lists.php.net to get a copy of this message | ||
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: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.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