Yii 1.1: echeckboxtree

Lightweight jQuery plugin to handle collapsible checkbox's tree.


The checkboxtree project development has been suspended. Please check the project homepage.


This extension uses Valerio Galano's jQuery checkboxTree plugin and extends CJuiWidget.

checkboxTree is lightweight jQuery plugin to handle collapsible checkbox's tree.


Download Last release


  • fast and lightweight plugin
  • node's checking engine
  • configurable node's ancestors checking/unchecking behaviour
  • configurable node's descendants checking/unchecking
  • public methods to trigger checking engine's events
  • tree collapse engine
  • configurable node's collapse/expand behaviour
  • configurable collapse/expand effects
  • public methods to trigger collapse engine's events
  • automatic "collapse/expand all" buttons setup
  • css configurable layout


Yii 1.1 or above


Extract the files at protected/extensions.

Place this example code inside a form or anywhere you want:

<?php $this->beginWidget('ext.ECheckBoxTree.ECheckBoxTree') ?>
    <li><input type="checkbox"/>Root
        <li><input type="checkbox"/>Node 1
        <li><input type="checkbox"/>Node 1.1
        <li><input type="checkbox"/>Node 2
        <li><input type="checkbox"/>Node 2.1</li>
        <li><input type="checkbox"/>Node 2.2</li>
        <li><input type="checkbox"/>Node 2.3</li>
            <li><input type="checkbox"/>Node 2.3.1</li>
            <li><input type="checkbox"/>Node 2.3.2</li>
        <li><input type="checkbox"/>Node 2.4</li>
        <li><input type="checkbox"/>Node 2.5</li>
        <li><input type="checkbox"/>Node 2.6</li>
<?php $this->endWidget() ?>

Config the widget with the $options attribute. You can find the plugin documentation here.



Some time ago I developed this extension for InDaHouseRulez SL. I no longer work there, but I still support the extension.

The extension was released under the MIT license, so I made a fork on GitHub, where you'll find the latest version:


Total 4 comments

#17555 report it
PolarBear at 2014/07/02 04:27am
RE: Can't get it to work

Try this before creating widget

#10152 report it
jpablo at 2012/10/08 03:14am
Demo not working

The demo site is not working, please check it out!

#5589 report it
tuolden at 2011/10/22 05:26pm
Can't get it to work


I'm trying to use the extension echeckboxtree and it seems it does not work entirely right.

Don't know if I'm doing something wrong. 1. created new project 2. added ZIP to extension directory 3. made the call to extension

Result: 1. Shows tree w/ checkbox

Not expected. 1. When a certain branch of tree "expands" after it has been previously "shrunk" then it can not "shrink" any more.


#2304 report it
Trejder at 2010/12/10 05:45am
Resources for this extension

I will only add for interested readers a bunch of URLs about jQuery plugin, this extension uses:

Leave a comment

Please to leave your comment.

Create extension
No downloadable files yet