I have created a CGridView but some of the values are complex and need to call a method in the model. The method could return an image or possibly a CHTML::link() but CGridview will just print the encoded HTML rather than allow the raw HTML to populate the field.