i need something may be called as 'CHtmlColumn' in CGridView

i want to implement auto detect link from a string in one of my column in CGridView. so i create a protected function in the controller, named ‘gridAutoDetectLink’. this method convert my original data to a html link code. but unfortunately the CGridView cannot process the html code to a link as i want, it is only display the string value as html code.

this is code of the cell:





i hope you can help me ;D

If you are giving the HTML code then just set type to "raw" - http://www.yiiframework.com/doc/api/1.1/CDataColumn#type-detail

thank you very much mdomba. the solution is much simpler than i thought and i began feel comfortable to ask in this forum :)