This wiki shows about how to make a custom column or how to pass php-Yii-html code in CButtonColumn (as a button)