The solution is to specify the column type as "raw":
$this->widget('zii.widgets.grid.CGridView', array(
'dataProvider'=>$dataProvider,
'columns'=>array(
array(
'name'=>'column1',
// call the method 'getLink' from a model.
'value'=>array($model, 'getLink'),
'type'=>'raw',
),
),
));
I am very ecstatic when I am reading this blog post because it is written in a good manner and the writing topic for the blog is excellent.
ReplyDeleteThanks for sharing valuable information. Also get to know about Magento 2 Wordpress Integration Services