Its simple to set the active, inactive in the C detail View dropdown list, just assign the status value as like the below format
array(
'label'=>'Status',
'type'=>'raw',
'value'=>($model->status == 1) ? "Active" : "Inactive",
),
No comments:
Post a Comment