CGridView with CCheckBoxColumn

Hi guys,

About the CCheckBoxColumn in CGridView, how to perform an action after the user tick the certain checkbox in cgridview?? Am i needed to create a button to perform next action? Pls guide me. tHanks

 $this->widget('zii.widgets.grid.CGridView', array(

            'id' => 'detail-grid',

            'dataProvider' => $dataProvider,

            'columns' => array(


                    'class' => 'CCheckBoxColumn',

                    'selectableRows' => '2', 

                    'checked' => '$data["machine_tag"]',




                    'name' => 'machine_tag',



                    'name' => 'description',


What type of action are you talking about? Can this be covered by event binding, written in jQuery?


i want the user can view the machine info when he click the row in the CGridview… Is that any solution for it?

Pls helpss.


Does it need to be in modal window? Where the information should display after user clicks the checkbox?