Customizing Cgridview

Hello,

I want to make a cgridview, which has a special column, the column includes url. And when clicking on the url, the dialog box will come out.

Help!

Hi ryanjan

just add

array(

‘name’=>‘namecolumn’,

‘type’=>‘raw’,

‘value’=>“CHtml::link(‘my link’,array(‘controller/action’))”,

),

Inside array column of Cgridview

It works, Thank you.

It works, Thank you.