Re: How to use Pager with HTML_table
| From: | Justin Patrin | Date: | Sun, 23 Jan 2005 21:54:32 +0000 |
| Subject: | Re: How to use Pager with HTML_table | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17118@lists.php.net to get a copy of this message | ||
On Sun, 23 Jan 2005 17:00:29 -0500, leegold <leegold2@verizon.net> wrote:
> Given the excellent example on how to use html_table class on:
> http://pear.php.net/manual/en/package.html.html-table.intro.php
>
> I wonder how I would use:
> http://pear.php.net/package/Pager
> with HTML_table.
>
> If anyone could provide a snip on how to use Pager with Html_table it
> will help me very much. When I am at the point: echo $table->toHTML();
> at this point I do not see how to use the Pager.
>
> Just a simple example would do it. Thanks,
> Lee
>
You may want to check out Structures_DataGrid which will use
HTML_Table and Pager for you to create paged data. It will also do
sorting. :-)
--
Justin Patrin