Difference between #1 and #2 of
Adding a link to a CDataColumn

Revision #2 has been created by le_top on Mar 4, 2013, 9:22:57 PM with the memo:

Typo correction
« previous (#1)

Changes

Title unchanged

Adding a link to a CDataColumn

Category unchanged

Tips

Yii version unchanged

Tags unchanged

CGridView, CDataColumn, CLinkColumn, link

Content changed

[...]
* interfaces.
*/
class YDataLinkColumn extends CDataColumn {

public $urlExpression;
public $url="javascrip
ot:void(0)";
public $linkHtmlOptions=array();
public $imageUrl;

protected function renderDataCellContent($row, $data) {
ob_start();
[...]
2 0
8 followers
Viewed: 18 525 times
Version: 1.1
Category: Tips
Written by: le_top
Last updated by: le_top
Created on: Mar 4, 2013
Last updated: 5 years ago
Update Article

Revisions

View all history