Hide delete button for specific records in CGridView

Does any one know a way to hide/remove button for specific records (depending on one of their properties/field) in CGridView?

Regards,

You can find the answer in the class reference: http://www.yiiframework.com/doc/api/1.1/CButtonColumn#buttons-detail :)

Thanks Andy :)

I checked the class reference before posting the question but I didnt check it in detail. I only checked the public properties. I was expecting some thing like deleteButtonVisible. So lazy of me :(