How add a toggle button for active inactive in Yii CgridView

How add a toggle button for active inactive in Yii CGridView

  1. <?php $this->widget(‘zii.widgets.grid.CGridView’, array(
  2. ‘id’=>‘subject-grid’,
  3. ‘dataProvider’=>$model->search(),
  4. ‘columns’=>array(
  5. ‘id’,
  6. ‘subjectName’,
  7. array(
  8. ‘header’=>‘Status’,
  9. ‘class’=>‘CButtonColumn’,

Read the full Blog at: How add a toggle button for active inactive in Yii CgridView


FindNerd is an effective C, Java, Android, Html, iOS, JavaScript, PHP quetions and answers, to instantly resolve your various language queries.

Apart from this, If you have any html language issue, you can post at HTML developer forum and get instantly resolved it from highly experienced FindNerd community members.

Advertisements
How add a toggle button for active inactive in Yii CgridView

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s