Show newline character selected from db column

(3 posts) (2 voices)

Tags:

  1. chadwickhung, Member

    Hi,
    one of the column in the table would contact new line character, I want to report to really show a line break as it is be kept. But now it is just being shown in 1 line.
    Please kindly advise.

    Chadwick

  2. myDBR Team, Key Master

    By default HTML does not preserve new line characters. To make it to do so, use white-space:pre CSS for the column:

    select 'dbr.colstyle', 'column', '[white-space:pre]';

    --
    myDBR Team

  3. chadwickhung, Member

    It works! Thanks a lot.


Reply

You must log in to post.