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.
Hi Frank,
You could create an editor that supports scrollbars (presumably UltraTextEditor) and set it as the EditorComponent on the cell.
UltraTextEditor te = new UltraTextEditor(); this.Controls.Add(te); te.Scrollbars = System.Windows.Forms.ScrollBars.Horizontal; this.ultraGrid1.Rows[0].Cells["String 1"].EditorComponent = te;
This works as long as CellMultiline is true for the column. I don't know if there's a way to do this just for one cell, though.