How to break output of Listview in a new line in listview widget note
2
Assuming your column name is "note" and it contains lines break, define it as follows:
'note' => [ 'format' => 'raw', 'value' => function ($model) { return nl2br($model->note); } ],
if using on html you can HTML syntax with BR otherwise use /n to make Enter or
Click here to cancel reply.
2
Answers
Assuming your column name is "note" and it contains lines break, define it as follows:
if using on html you can HTML syntax with BR otherwise use /n to make Enter or