Radio Button In Cgridview

Hello everyone.

i need help. i want add radio button list into cgridview.

and when the radio clicked i want the value is saved by id.

i’ve tried with this code in my cgridview.




array(

'name'=>'Upah',

'type'=>'raw',

'value'=>"CHtml::radioButtonList('ab','',array('1'=>'Hadir','0'=>'Alfa'),array(

'labelOptions'=>array('style'=>'display:inline'),

'onclick'=>CHtml::ajax(array('type'=>'POST', 'url'=>array('absensi/absen'))), 

))",


),



there is no error. but the value just couldn’t saved.

really appreciate with every your help.

thank you so much.

up

that’s my problem too, some one have solution please…

Up,