You can use afterAjaxUpdate (since your pages load with ajax):
$this->widget('zii.widgets.grid.CGridView', array( // ... options ... 'ajaxUpdate'=>true, 'afterAjaxUpdate'=>'aFunctionThatWillBeCalled', // // ... more options ... ));
You can add the js function as follows:
Yii::app()->clientScript->registerScript('some-script-id','function aFunctionThatWillBeCalled(id, data){ console.log("id is "+id); // your jquery code to remember checked rows }');
source share