Hi,
I have a column ("Status") in UltraWinGrid (.NET 2009 1) in Winforms that has long text. I would like to wrap the text into multiple lines with in the cell. How do I set the property to acheive this.? Please provide the syntax if possible. - Thanks
I m using the UltraDataSource to define my columns, width and visibility.
Try something like this:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Bands[0].Columns["String 1"].CellMultiLine = DefaultableBoolean.True; e.Layout.Override.RowSizing = RowSizing.AutoFree; }
can I do that in Asp file note in code behind
Sorry, but I don't understand your question. This post is about the WinGrid, and it sounds like maybe you are asking about the ASP.Net controls, so you might have better luck posting in the ASP.Net forums.