Re: [Structures_DataGrid] Column value as url

From: Date: Wed, 07 Feb 2007 18:15:09 +0000
Subject: Re: [Structures_DataGrid] Column value as url
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26520@lists.php.net to get a copy of this message
Try passing to the column a custom function to format the value: ... $datagrid->addColumn(new Structures_DataGrid_Column(null, null, null, array('width' => '10'), null, 'custom_function')); ... function custom_function($params) { extract($params); ... return $something; } On 2/7/07, Francesco F <franco@inpe.unipi.it> wrote:
Hi, in my database table there is field with url; when i render Structures_DataGrid, the output of this column is automatic "htmlspecialchars". I can't find a setting for disable this feature (in order to display a correct a href link), can anyone help me? Thanks,
        Francesco
-- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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