CButtonColumn - modify behavior

I was reading on CButtonColumn. If i understand correctly, i can either specify new buttons, or modify current behavior for the view, delete and update buttons.

Have any of view either created a new button to do soft deletes or modify the delete button to do soft deletes (set column ‘is_soft_delete’ to true (update record)?

If not i can add a checkbox in CGridView to select records to be deleted. Create a button, on click, would delete all checked records.

Any of you implemented this? show me examples please?

If you want to change the standard delete action to a soft delete… all you need to do is change the actionDelete in your controller… there instead of deleting the model you can set the filed "deleted".