Checkbox Column Value

Hello. :)

Though I got my app working , I couldn’t change the value that is rendered by the checkbox column.

After reading the guide I used those two in the array where I create the CCheckboxColumn -


'name'=>'email',

or


'value'=>'$data->email',

but I kept getting the Primary Key attribute. . .

Does anyone have an idea why won’t it work?

Thanks,

Mark.