Yii: Adding checkbox column to CGridView

Yii: Adding checkbox column to CGridView

Posted by on May 14, 2014 in Yii | 0 comments

Yii has a pre-built class that you can use in your columns array to add a checkbox column to your CGridView. From there you can assign other functionality to the checkboxes. This example uses bootstrap widget but this easily applies to zii.widgets.grid.CGridView:

Post a Reply

Your email address will not be published. Required fields are marked *