Carriage Return character trims text in DataGrid

Posted by: gregor.sch on 27 June 2019, 11:52 pm EST

    • Post Options:
    • Link

    Posted 27 June 2019, 11:52 pm EST

    I’m binding data to a C1DataGrid. If the line-feed character is used for line breaks (vbLf in my case), everything works fine, all rows of the text are displayed inside the DataGrid Row / Cell. If the text contains the CarriageReturn-LineFeed character (vbCrLf), the text is trimmed at the first vbCrLf character.

    How can I display the entire text with vbCrLf characters?

    Thanks, Gregor

  • Posted 30 June 2019, 3:57 pm EST

    Hi Gregor,

    I tried to replicate the issue but I could not observe any difference in the display of text with vbLf vs text with vbCrLf. Also, I have created a sample (prj_DataGridWithCrLf.zip) for your reference. So, please look into the sample once and let me know if I missed something.

    Thanks,

    Basant

    prj_DataGridWithCrLf.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels