Dear Friends,
I am new to YII, I have a requirement to draw a textarea in CGridview.
I tried following ways, but it didn’t help :
1)
'value' => 'textArea($data->map_description)',
2)
'value' => '$data->map_description',
'type' => 'ntext',
3)
'value' => 'activeTextArea($model, $data->map_description)',
4)
'value' => '<textarea>$data->map_description</textarea>',
5)
'value' => 'formatNtext($data->map_description)',
// to display the long content aligned, properly fitting the grid.
6)
'value' => 'formatText($data->map_description)',
Thanks in advance.