FlexGrid 2K chars limit?

Posted by: Guy on 13 April 2020, 5:06 am EST

    • Post Options:
    • Link

    Posted 13 April 2020, 5:06 am EST

    Hi,

    We are having an issue with C1.Win.C1FlexGrid.C1FlexGrid (4.0.20201.416) not showing entire cell content when the cell has more than 2000 (2K) chars. The Content is just not displayed. The cell size is OK (AutoSize Height) but it is empty for the most part.

    i’ve attached a small project demonstrating the issue.

    Any thoughts?

    Guy.C1ManyLinesInCell.zip

  • Posted 13 April 2020, 6:10 am EST

    Hi,

    FlexGrid, by default, uses .NET’s TextRenderer to draw strings. This method is not suitable for very long single line strings.

    You can set the ‘UseCompatibleTextRendering’ property to ‘True’ to avoid this issue.

    Regards,

    Jitender

Need extra support?

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

Learn More

Forum Channels