Hi I am trying to display an email address which is stored in my table column ‘Bank_Contact_Email_1’ as a html mailto link in CGridview is there any reason why the following wont work.
<?php $this->widget('zii.widgets.grid.CGridView', array(
'dataProvider'=>$dataProvider,
'columns' => array(
array('name'=>'Bank_Contact_Email_1','type'=>'raw','value'=>CHtml::mailto($email=$model->Bank_Contact_Email_1)),
//rest of code as normal.
I am displaying the column with heading but no linked value in each row i’m presuming that there is a problem with my CHtml::mailto() any input would be greatly appreciated.