Re: DataGrib and DataObject

From: Date: Mon, 26 Jul 2004 14:03:37 +0000
Subject: Re: DataGrib and DataObject
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13847@lists.php.net to get a copy of this message
Ian P. Christian wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm trying to think of the best way to get a paged table for DataObject items. The more I think about how to do it, the more I seem to be inventing yet another templating system DataGrid really does look interesting, but it appears that you need to load every item from a database into the dataset to get it to work wiith paging. This is just insane! Does anyone have any suggestions on this one? I've
Ian, you can solve the issue of loading all records into Structures_DataGrid by simply not using the paging aspects of it. Just load your "max per page" records into the datagrid and use the pager class to create your own paging. I will try to make this concept more compatible with the structures_datagrid package by possibly allowing access to the pager class options. Please let me know if you have any ideas, I would love some help from others! Andrew

« previous php.pear.general (#13847) next »