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
5250
CellMultiLine - only one cell not entire column
posted

Hi all

I am looking for a solution to set CellMultiLine with ScrollBars on only one cell
and not on the complete column.
I only found Column.CellMultiLine.

Thanks you a quick feedback.

Best regards
Frank Uray

Parents
No Data
Reply
  • 29105
    Offline posted

    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.

    CellMultilineTest.zip
Children