title: CHECKBOX in CTreeView
body: <p>Does anyone knows how to put checkbox in <code>CTree</code>?? I already have my <code>treeview</code> but I don't know how to put checkbox on it and <code>return 0 || 1</code> result.. please help.. Thanks..</p>
  
  <pre><code>array("id"=&gt;1,"name"=&gt;"&lt;b&gt;SALES&lt;/b&gt;","parents"=&gt;
      array(
          array("id"=&gt;10,"name"=&gt;"&lt;b&gt;Sales Order&lt;/b&gt;","parents"=&gt;
              array(
                  array("id"=&gt;100,"name"=&gt;"Allow view Transaction PO",
                        array('text' =&gt; CHtml::checkBox('name', true)),"parents"
  
                  ),
                  array("id"=&gt;101,"name"=&gt;"Allow Click Edit Button PO","parents"
  
                  ),
                  array("id"=&gt;101,"name"=&gt;"Allow Click New Button PO","parents"
  
                  ),
                  array("id"=&gt;101,"name"=&gt;"Allow Click Save Button PO","parents"
  
                  ),
                  array("id"=&gt;101,"name"=&gt;"Allow Click Change Document# PO","parents"
  
                  ),
                  array("id"=&gt;101,"name"=&gt;"Allow Click Delete Button PO","parents"
  
                  ),
                  array("id"=&gt;101,"name"=&gt;"Allow Click Print Button PO","parents"
  
                  ),
                  array("id"=&gt;101,"name"=&gt;"Allow Click Lock Button PO","parents"
  
                  ),
                  array("id"=&gt;101,"name"=&gt;"Allow Click Unlock Button PO","parents"
  
                  ),
                  array("id"=&gt;101,"name"=&gt;"Un Allow Change Amount PO","parents"
  
                  ),
              ),
          ),
      ),
  )
  </code></pre>