Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Сarriage return in a portlet's text column

Highlighted
AlekseyG
Regular Collector

Сarriage return in a portlet's text column

Hello!

 

There is a custom request type field with "Text Area - 4000" validation and I'm trying to show it's content (and download it into Excel subsequently).

But… The issue is that having a structured text (with carriage return) entered in the field - something like this:

 

"Stream1: Description of stream1.

  Stream2:Description of stream2"

 

in a portlet column (and in Excel) I receive the text without carriage return:

"Stream1: Description of stream1. Stream2:Description of stream2".

 

I wonder how to solve this?

 

Thanks in advence!

1 REPLY

Re: Сarriage return in a portlet's text column

I ran once with the same issue, as far I remenbered I did a replace in the datasource for the column with chr(10) for chr (13) or viceversa and put the breaklines.

//Add this to "OnDomLoad" event