CGridView selectableRows quirk

Not sure if this is intentional, when I set a column to be a CCheckBoxColumn on multiple selectable rows I would have expected the selected rows to conform to the checked status of the corresponding checkbox.

Currently a row alternates the selected class, ignoring the checkbox status. Would be nice if that could be cleaner, I realise one approach would be to captcher the checkbox status ourselves, but for completeness sake I would have thought this would be an expected behaviour.

Could u insert your code here so I can better understand the problem?

<?php $this->widget('zii.widgets.grid.CGridView', array(




	'emptyText'=>'Nowt to see.',










			'header'=>'Date Created',

			'value'=>'Yii::app()->dateFormatter->formatDateTime($data->created, "medium", null)'



)); ?>

I need same thing. Can you send action controller and view file too? It will really help me.