title: yii : how to display CJuiDialog when click button of cgridview?
body: <p>Q : how to display CJuiDialog when click button of cgridview?</p>
  
  <p>I would like to display the popup when user click the button of cgridview.</p>
  
  <p>This is the button of cgridview</p>
  
  <pre><code>'buttons'=&gt;array(
      'history'=&gt;array(
          'visible'=&gt;'Yii::app()-&gt;user-&gt;checkAccess("Reviewer") &amp;&amp; $data-&gt;status == "Reviewing"',
          'url'=&gt;'Yii::app()-&gt;createUrl("/history/view", array("id"=&gt;$data-&gt;id))',
          'imageUrl'=&gt;Yii::app()-&gt;request-&gt;baseUrl.'/images/assets/history.png',   
                  ),
  </code></pre>
  
  <p>But I'm really don't know how to do it. pls help me.</p>