Re: [Structures_DataGrid] Column value as url

From: Date: Wed, 07 Feb 2007 18:23:07 +0000
Subject: Re: [Structures_DataGrid] Column value as url
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26522@lists.php.net to get a copy of this message
Hi Francesco, Francesco F 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?
This behaviour is configured with the HTMLTable Renderer convertEntities option: http://pear.php.net/manual/en/package.structures.structures-datagrid.structures-datagrid-renderer.htmltable.php Just use: $datagrid->render('HTMLTable', array('convertEntities' => false)); Regards, -- Olivier

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