Difference between #3 and #5 of
Custom column in TbGridView with icon by condition, find out icon class glyphicons easy (YiiBooster)

Changes

Title unchanged

Custom column in TbGridView with icon by condition, find out icon class glyphicons easy (YiiBooster)

Category unchanged

Tips

Yii version unchanged

Tags unchanged

YiiBooster, icons, class, glyphicons, custom, column

Content changed

[...]
'name3',

array(
'header' => 'custom',
'type'=>'raw',
'value' => '($data->field1 > 10) ? "<a><span class=\"icon-gift\"></
span></a>" : "<a><span class=\"icon-camera\"></span></a>"',
),
...
)));
```
[...]
2 0
5 followers
Viewed: 42 090 times
Version: 1.1
Category: Tips
Last updated by: Rohit Suthar
Created on: Oct 18, 2013
Last updated: 10 years ago
Update Article

Revisions

View all history