<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'post-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
array(
'name'=>'title',
'value'=>'function(){ print "op" }',
),
array(
'class'=>'CButtonColumn',
),
),
)); ?>
The result is "op" is printed on the top of the page instead of in the proper cell. Am I using something wrong. It becomes even worse if I am using a static method such as:
'value'=>'Post::render',
Any ideas on what I am doing wrong here?
cheers!

Help
















