Re: Structures_DataGrid requestPrefix for paging

From: Date: Mon, 03 Jan 2005 18:36:22 +0000
Subject: Re: Structures_DataGrid requestPrefix for paging
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16565@lists.php.net to get a copy of this message
Electroteque wrote:
echo $dg->renderer->getPaging(); '
I just tried the pager from the docs, i think the docs need upgrading, docs say $dg->getPaging(); Thanks for the catch!
How is it possible to customise the paging ? On 29/12/2004, at 3:01 AM, pablo wrote:
There are 2 ways of customizing the pager object. You can do the more simple approach which is to alter the values available in the getPaging method: http://pear.php.net/package/Structures_DataGrid/docs/0.5.3/Structures_DataGrid/Structures_DataGrid_Renderer_HTMLTable.html#methodgetPaging Or you can work with the pager object directly. You can access it by using the following: $dg->pager; Let me know if this helps Andrew

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