Hi allI am looking for a solution to set CellMultiLine with ScrollBars on only one celland not on the complete column.I only found Column.CellMultiLine.Thanks you a quick feedback.Best regardsFrank Uray
Optionally, you can drag an UltraControlContainerEditor into the designer assign the editorConrol property to the ultratexteditor and set the cell's editorcomponent property to be the container.
That way you can insure that only this editor will have multiline, scrollbars, etc and not the rest of the column.
this.ultraControlContainerEditor1.EditingControl = ultraTextEditor1; ultraTextEditor1.Multiline = true; ultraTextEditor1.BorderStyle = Infragistics.Win.UIElementBorderStyle.None; ultraTextEditor1.Scrollbars = ScrollBars.Both; this.ultraGrid1.Rows[2].Cells[0].EditorComponent = ultraControlContainerEditor1;
I attached a sample demonstrating this.
Well, I guess you have some problem on your website.Look at the image here: http://www.symmetric.ch/_Downloads/CellMultiLineTest.jpg
Hi MichaelSorry for the late answer, I am quite busy at the moment.I have just tested your solution and it works :-)Thank you a lot !Kind regardsFrank
Hello Frank,
The reason for this behavior is ControlContainer is using only one TextEditor for Editing and not one Rendering/Display purposes. Adding a rendering control with same attributes will make it so that the cell looks the same entering and leaving. It's also not possible to assign one control to both Editing/Rendering properties.
I attached a sample demonstrating this and applied the same settings to the second TextEditor. Let me know if you have any questions regarding this matter.
Thank you for your sample.Try to add additional lines in the cell where "Multiline Cell" is entered.When you then leave the cell, you see that only the first line is shown.I would like to see also the other lines.Thanks and best regardsFrank
Thank you for following up. I attached a sample demonstrating your requirement. There are couple extra properties you may or may not already be using. For example, you are going to want to set the TextEditor's wordwrap to false to enable horizontal scrollbars, and set the grid's RowSizing to AutoFree if you want full control over sizing each cell.
Let me know if you have any questions regarding this matter.
Hi MichaelThis does not help, it still shows only one line when it is not in edit mode.Thanks and best regardsFrank