Return in cgridview

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



    'label' => 'Back',

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


But in source code (html) appear this:


Any one can help me??


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()