Html Decode In Cgridview Not Working


I am saving the description in the database. Description filed is a text area in CKEditor. The issue is I could not properly render content with html tags. I have tried some forum post regarding this but still I could not get it write. I have added necessary code snippets and screen shots.

If any one can help on this I would be much grateful.

admin.php in view folder

<?php $this->widget('zii.widgets.grid.CGridView', array(















            'template' => '{update}',



)); ?>

I referred following posts.

use this


array (

'name' =>'description' ,

'header' => 'Description' ,

'value' =>$model -> description,




It worked. Thanks Ahamed!

dont forget to refer manuals provided by Yii :) all the best.