私はユーザーモデルを持っています。 CGridViewで表示する$model->is_admin(0または1)の2色のいずれかの整数です。 CGridViewの簡単な設定でできますか? コントローラ /**
* Lists all models.
*/
public function actionIndex() {
$model = new Users('search');
にカスタム機能を追加、削除ボタンは、この関数に自分自身を割り当てます。 jQuery('#main-orders-details-grid a.delete').live('click',function() {
if(!confirm('Are you sure you want to delete this item?')) return false;
var th=thi