Re: Re: pager style

From: Date: Thu, 06 Jul 2006 07:52:53 +0000
Subject: Re: Re: pager style
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24578@lists.php.net to get a copy of this message
hammam.islamway wrote:
I tried the first solution: options with DATAGRID_RENDER_PAGER. This is my code: $page_options=array('class'=>'d_grid_pager'); $test = $datagrid->render(DATAGRID_RENDER_PAGER,$page_options); I wrote some this in css: .d_grid_pager{ color: #3556ba;}
Please have a look at http://pear.php.net/manual/en/package.html.pager.factory.php where all valid Pager options are described, 'class' is not listed there. And your array needs to have this form: array('pagerOptions' => array('linkClass' => 'yellow', ...)); ('linkClass' is only an example here, of course) Regards, Mark

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