Return in cgridview

Hello! I have a new problem i wanna place in CGridView a link for go back, i tried this:




array(

    'type'=>'html',

    'label' => 'Back',

    'value' => CHtml::link('Back', 'javascript:history.go(-1)'),

),



But in source code (html) appear this:




   <a>Back</a>



Any one can help me??

Thanks

instead of ‘value’ try ‘url’ attribute

This say me: Not Set, and this result dont is a link…

Put quotes around value:




'value'=>'CHtml::link("Back", "javascript:history.go(-1)")',



and btw there is a JS function history.back()