Hello! I have a text field in my database, and when it is viewed in CGridView, it is shown in multiple lines. I want to show only part of text in one line. Is that possible, and how to do that?
Hello! I have a text field in my database, and when it is viewed in CGridView, it is shown in multiple lines. I want to show only part of text in one line. Is that possible, and how to do that?
in column:
'name'=>'column-name',
'value'=>'substr($data->column-name,0,25)."..."'
thanks!