title: CGridView encoded the value
body: <p>I'm following the documents here <a href="http://www.yiiframework.com/wiki/278/cgridview-render-customized-complex-datacolumns/" rel="nofollow">http://www.yiiframework.com/wiki/278/cgridview-render-customized-complex-datacolumns/</a></p>
  
  <p>So I have the following in view</p>
  
  <pre><code>$this-&gt;widget('zii.widgets.grid.CGridView', array(
  'id'=&gt;'item-table-grid',
  'dataProvider'=&gt;$model-&gt;search(),
  'itemsCssClass'=&gt;'item-table-grid',
  'columns'=&gt;array(
      'customer_name',
      array(
          'name'=&gt;'Edit',
          'value'=&gt;array($model, 'editLink'),
      ),
  ),
  ));
  </code></pre>
  
  <p>And here is the editLink function in model</p>
  
  <pre><code>public function editLink($data, $row) {
      $link = '';
      if ($data-&gt;is_draft) {
          $link = '&lt;a href="customer/update/'.$data-&gt;id.'"&gt;Edit&lt;/a&gt;';
      }
      return $link;
  }
  </code></pre>
  
  <p>The problem that I'm having is that the return value is encoded so I get &lt;a href=...></p>
  
  <p>Is there a way to tell CGridView not to encode the value?</p>
  
  <p>Thanks</p>