And don’t modify CHTML directly, but create new class that extends it, and modify that function there, so you would be able to upgrade Yii framework in future.
Well, the answer to your question is so obvious and simple, that I fear that I misunderstood you, and your asking about something completely different! :]
Actually, you’ve already solved yourself, but with the image column - i.e. use the same approach, i.e. using value parameter. So, instead of (part of your columns array):