In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).
In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).
Inspired by it I extended the CButtonColumn class like this:
The easiest way to customize look and behaviour of them is to use series of CButtonColumn properties, like: updateButtonImageUrl (path to image for update button), updateButtonLabel (label for the update button; not HTML-encoded), updateButtonOptions (HTML options for this button, used in the way as many htmlOptions property for many widgets) and updateButtonUrl (a PHP expresion th...
Let's take the example of the above article to display an email button next to a delete button: