Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
EditorWithText support for multiline text box
posted

Does the EditorWithText control support multiline text box?

In my use case, a sub-class of EditorWithText control is embedded into an UltraGrid cell, the Embeded text box keeps getting set as (multline= false) after entering into edit mode..

I got around that by overriding DisplayTextBox and setting the multiline properly myself.  But after exiting edit mode, the cell still only display the first line of the text..  Is there anyway to get it to show the entire text?  The cell is wider than a single line, so there's plenty of screen real-estate.

Thanks

Parents
  • 37774
    Verified Answer
    posted

    The EditorWithText does support multiline text, but the problem here is that the multiline setting is ultimately resolved by the owner, not the editor; in this case the grid determines whether the editor should support multiline (if the editor is intrinsically able).  What you need to do is set the CellMultiline property on the column (or the Override object) to DefaultableBoolean.True .

    -Matt

Reply Children
No Data