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..
'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..