Difference between #2 and #4 of
Yii CGridView add custom button

Changes

Title unchanged

Yii CGridView add custom button

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

CGridView, custom button for CGridView, custom button

Content changed

[...]
'url' => 'CHtml::normalizeUrl(array("dashboard/mail/id/".rawurlencode($data->feedback_email)."/f_id/".$data->feedback_id))', //Your URL According to your wish
'imageUrl' => Yii::app()->baseUrl . '/images/reply_mail_icon.png', // image URL of the button. If not set or false, a text link is used, The image must be 16X16 pixels
),
),
```

 
 
For more field definitions of buttons array check  [CButtonColumn](http://www.yiiframework.com/doc/api/1.1/CButtonColumn#buttons-detail "CButtonColumn")
3 0
7 followers
Viewed: 49 941 times
Version: 1.1
Category: How-tos
Written by: Arockia Johnson SR
Last updated by: CeBe
Created on: Nov 22, 2013
Last updated: 10 years ago
Update Article

Revisions

View all history