Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
Display both formatted and plain text in same column
posted

Hello,

I can't get this to work. I have both formatted text and plain text (with multiline) and want to display this in the same column. The ultraformattedTextEditor doesn't have any problem with this, it renders both formats correctly.

When setting the column.Style to FormattedText, plain text with line breaks (\r\n) will not be correct.

It seems that a workaround may be the solution here. I'm thinking of using the initialize row and do a string.replace("\r\n", "<br/>").

Parents
No Data
Reply
  • 69832
    Offline posted

    I'm not clear on whether you tried to replace linefeed/carriagereturn with the <br></br> escape, but that should definitely work.

Children
No Data