Normally you should obtain the row number with your code… Is it what you want to get?
Also I don’t know if you’ve pasted your code exactly as it is, but anyway I have 1 comment and 1 correction:
$this->widget('zii.widgets.grid.CGridView', array(
'dataProvider'=>$dados_ponto,
'ajaxUpdate'=>true, // Do you need this line? It's by default I think
'columns'=>array(
'codigo_cadfu',
'hora_registro',
), // You need this line
'selectionChanged'=>'function(id)
{
var sel_row=$.fn.yiiGridView.getSelection(id);
alert(sel_row);
}'
));
'selectionChanged'=>'function(id)
{
var sel_row=$.fn.yiiGridView.getSelection(id);
alert(sel_row[0]);
}'
));
Thank you very much for your reply, but this way the result is the same.
Can someone help?
Thanks.