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
1510
MultiLine UltraTextEditor inside UltraGrid not working!
posted

Hi there!

Can you please tell me why my **MULTI**line UltraTextEditor is not working inside a cell inside the UltraGrid ?

I want to be able to make one colum ( cells in that colum ) with Multi-line in edit-mode ...

I've dragged a UltraTextEditor onto the form and set it's Multiline property to TRUE and then like this in the Initilize_row event ( which IS hit, I've verified that ):

e.Row.Cells[

"ReasonForChange"].EditorControl = ultraTextEditor1;

But still there's only one line ... I want it to wrap the text after the 100 in witdh
( Initilize_Layout is like this: e.Layout.Bands[0].Columns["ReasonForChange"].Width = 100; )

Am I maybe looking at "Multiline", when I need "TEXT WRAPPING" inside this cell ??? how can I do this ......

Thanx in advance,
EE

Parents
No Data
Reply
  • 1510
    Suggested Answer
    posted

    I found out what the problem was ... fixed it with this:
    ( wrapping and enabling the cell's multiline .... )

     

     

    _ugFinishDateChanges.DisplayLayout.Bands[0].Columns[1].CellAppearance.TextTrimming = Infragistics.Win.

     

    TextTrimming

    .EllipsisWord;

    e.Layout.Bands[0].Columns[

     

    "ReasonForChange"].CellMultiLine = Infragistics.Win.DefaultableBoolean

    .True;

    _ugFinishDateChanges.DisplayLayout.Override.RowSizing =

     

    RowSizing

    .AutoFixed;

Children