Hi
I am using a web grid in which one of my column text is truncated out because its bigger than the width of column. How can I wrap a text and wants to show text on hovering a mouse on that particular cell?
Thanks in advance.
The wrapping of text is controlled by properties of the style object. You can set the text to wrap and display the over flow of text in an ellipses like so:
this.UltraWebGrid1.DisplayLayout.TableLayout = TableLayout.Fixed;this.UltraWebGrid1.DisplayLayout.RowStyleDefault.Wrap = false;this.UltraWebGrid1.DisplayLayout.RowStyleDefault.TextOverflow = TextOverflow.Ellipsis;
For more information about Wrap Text or Display an Ellipsis in Cells please refer to the following online help article:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR2.0/html/WebGrid_Wrap_Text_or_Display_an_Ellipsis_in_Cells.html
I hope this helps.