Wednesday 2 September 2015

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.

No comments:

Post a Comment