Hello,
I am trying to display 2 data values in the same cell:
$data->field1,
$data->field2
In the view.php (the cgridview):
array(
'header' => 'field',
'name' => 'field',
'value' => function($data){
return
'$data->field1.'<br>'.$data->field2;
},
),
But the result was "value1<br>value2"
How I can show the 2 values in 2 lines instead of writing on screen "<br>"