Bug Report T713804
Visible to All Users

An in-place cxRichEdit editor wraps the cell content if the Properties.WordWrap property is set to False

created 6 years ago

Hi,

We dynamically create a table with a variable series of columns, sometimes we need a TcxRichEditProperties based column which we include rich text to be able to include hyperlinks to other areas of the application (this is done by masking a TcxRichEdit in the background mirroring the column bounds).

However the displayed rich text seems to wrap the text despite the TcxRichEditProperties.WordWrap property being False.  As we have long filenames in part of the text the entire filename is blank as though it's wrapped when we would very much prefer the text to be clipped at the end of the column.  As shown in the attached document when we expand the column the text shows fine.

Is there a way of making the column clip the text at the end, rather than removing the entire word (or in this case the long filename)?

Thanks,

Ross

Comments (1)
DevExpress Support Team 6 years ago

    Hello Ross,

    This behavior looks strange. It seems that the WordWrap property has no effect on RichEdit columns in display mode, though it has effect in edit mode. I have forwarded this ticket to our developers for research.
    Meanwhile, the most appropriate workaround I see is to use Memo or TextEdit properties for these cells. You can use the column's OnGetProperties event to assign Memo properties to these columns where you do not need to display hyperlinks.

    Answers approved by DevExpress Support

    created 6 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.