Hello,
I have reproduced the described behavior in both the RichEdit and BlobEdit. This behavior is by design - a cxGrid cannot correctly count the number of lines in such editors for the preview row. A RichEdit can contain a picture, and it is not clear how to display it partially. I can suggest two possible workarounds for you:
- Use Memo Properties for this column instead;
- Create an additional unbound column with truncated strings and use this column as a preview (How to set up an unbound item in a data-aware View).
I am afraid this information is not enough to answer you precisely why this happens. Would you please provide us with a sample project to demonstrate the issue and more detailed information about the functionality you are trying to implement? We will examine it and do our best to find a solution.
it also doesn't work as it should if TcxBlobEditProperties (bekMemo/bpsText/ssVertical) repository item linked to the column bound to memo field and only shows single (first) line of multi-line (separated with #13#10 pairs) memo field content. as soon as I clean RepositoryItem property for that TcxGridDBColumn it correctly shows default (3) lines