Cgridview And Ccheckbox Column?

Hello all,

I have a CGridview that has CCheckboxcolumn, I also have a javascript function that is fired onchange event ie. when a row is checked, I need to get an ID of the selected row and send it to javascript which subsequently calls the controller action with that ID value…

any help will be appreciated.

One method is to set ‘value’ to the id of the selected row and get the value for ‘value’ in your javascript.