Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

How To Add Toggle Button In Yii Operations Coloumn

$
0
0
array(
'class' => 'CButtonColumn',
'header' => 'Operations',
'template' => '{punchin}',
'buttons'=>array(
'punchin' => array(
'label'=>'punch in', // text label of the button
'url'=>"CHtml::normalizeUrl(array('punchin', 'id'=>\$data->id))",
'id'=>'punch',
'imageUrl'=>'C:/xampp/htdocs/web/images/copy.png',


),
),
),


i need toggle button as punch in and punch out..how can i add this

plssssssssss help me..

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>