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

Revision #3 has been created by Arockia Johnson SR on Mar 14, 2014, 12:07:57 PM with the memo:

button array link added
« previous (#2) next (#4) »

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")
2 0
7 followers
Viewed: 36 300 times
Version: 1.1
Category: How-tos
Written by: Arockia Johnson SR
Last updated by: CeBe
Created on: Nov 22, 2013
Last updated: 4 years ago
Update Article

Revisions

View all history