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
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.
.EllipsisWord;
e.Layout.Bands[0].Columns[
.True;
_ugFinishDateChanges.DisplayLayout.Override.RowSizing =
.AutoFixed;
When using an editor control, any property setting that the grid has will override any settings on the control. So if you want multi-line text in a grid cell, you can just set CellMultiLine on the column and there is no reason to use an Editor or EditorControl.
Hi Ajay,
I don't believe there is any way to do that for a single cell. The Multiline property is only available on the column.
You should Submit a feature request to Infragistics
Hi Mike,
I want to set the Multiline property of a particular Cell in the grid not on the whole column. for example I want to set the multiline cell 2 of row 27 of the grid.
Thanks
Ajay