title: Render a widget inside CGridView in Yii
body: <p>I am using Yii framework and I have a problem. I have created a widget in extension folder and trying to render my widget inside a CGridView. The partial code (my grid) is like that: </p>
  
  <pre><code>'columns'=&gt;array(
  'id',
  'name',
  array(
      'type'  =&gt; 'raw',
      'value' =&gt;  $this-&gt;widget('application.extensions.jalali.gregorian2jalali',array())
  ),
  </code></pre>
  
  <p>It gives me the following error while running:</p>
  
  <pre><code>Error 500
  call_user_func_array() expects parameter 1 to be a valid callback, no array or string given
  </code></pre>
  
  <p>What is the problem coming from? </p>