get curent id row

hi to all.

i am new to yii.

i want to find how get current row id when click on delete or update button in cgridview?

when i try use $data->id get error with this content "$data not defind…"

please help me i try to creat my own site with yii :)

thak you all.

Hi,

This page can help you: http://www.yiiframework.com/doc/api/1.1/CGridView#selectionChanged-detail