Re: Datagrid - Adding Customs Fields

From: Date: Tue, 23 May 2006 02:55:49 +0000
Subject: Re: Datagrid - Adding Customs Fields
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24116@lists.php.net to get a copy of this message
On 5/22/06, Toppi <Toppi@i-mehl.de> wrote:
Hi, could someone please explain me, how i may preprocess fields when using datagrid? for example manipulating a date_field before displaying it. oliviers example at http://www.samalyse.com/code/pear/dgdo/ seems to show only how to display certain fields of a (predefined)table. 1) but what about joining several tables and processing them with datagrid? 2) how may i add a column with something like "<a href=xyz.php?id=record-id">Edit</a>"? thanks in advance & greetings,
Use addColumn(). -- Justin Patrin

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