$model is not available to CDbDatacolumn; it's $data instead