Re: A more sensible way to do paging in Structures_DataGrid?
| From: | Ken Restivo | Date: | Tue, 30 Nov 2004 18:24:02 +0000 |
| Subject: | Re: A more sensible way to do paging in Structures_DataGrid? | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15922@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Nov 30, 2004 at 09:50:51AM -0500, Andrew Nagy wrote:
> Ken Restivo wrote:
> >Problem is the paging. On a huge dataset, I'm fetching thousands of
> >records, and the Datagrid_Renderer_HTML_Table seems to want all of them
> >before displaying 10 of them. There has to be a better way.
>
> Ken, until the new version is released, the best way to overcome this
> problem is to not use the built in paging. Only load the 10 records
> into the datagrid and then create your own pager object.
>
> The new DG is coming soon, I promise!
>
No worries. I'm not in a hurry, and we're all doing this stuff for free anyway ;-). For
now, I'm going to homegrow what I need using HTML_Table, and I'll save playing with
Datagrid for when it's time to create a bunch of Excel export reports.
- -ken
- --
- ---------------
The world's most affordable web hosting.
http://www.nearlyfreespeech.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBrLrCe8HF+6xeOIcRAlJVAKC+M259XqZ5HkdXgWVqT3xYa5BBcwCffs7l
GoqQGePKL118tXLwqp7ElLk=
=8IEd
-----END PGP SIGNATURE-----