Re: A more sensible way to do paging in Structures_DataGrid?
| From: | Andrew Nagy | Date: | Tue, 30 Nov 2004 14:50:51 +0000 |
| Subject: | Re: A more sensible way to do paging in Structures_DataGrid? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15920@lists.php.net to get a copy of this message | ||
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! Andrew