Re: Re: pager style

From: Date: Wed, 05 Jul 2006 15:52:01 +0000
Subject: Re: Re: pager style
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24566@lists.php.net to get a copy of this message
Hi, Mark Wiesemann wrote:
hamma wrote:
hi how to control the pager style (css)? thanks
You can use $datagrid->render(DATAGRID_RENDER_PAGER, $options) where $options is an array with 'pagerOptions' as the key and the normal option that the Pager package accepts. If you want to use fill(), then create your own Pager instance, give it your desired options and call $datagrid->fill($pager).
You can find an example about using fill() with Pager in the manual : http://pear.php.net/manual/en/package.structures.structures-datagrid.structures-datagrid.fill.php -- og

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