Has anybody managed to get the textoverflow = Ellipsis property to work? I am setting the property using:
Grid.xxx.Wrap = False; Grid.xxx.TextOverflow = TextOverflow.Ellipsis;
Where xxx is or more of the grid styles, such as RowStyleDefault and RowAlternateStyleDefault. I am aware of another posting regarding this issue where the solution mooted was to programmatically truncate the text. This won't work in my case bacuse the columns containing the long text is the one that I want to vary in width as the page size changes. See my previous post regarding column widths.
Any Ideas?
VS2008 Pro, IG2008v1, C#
Kind regards
Paul
If you want WebGrid cells to wrap, you should also make sure you set the grid's DisplayLayout.TableLayout property to "Fixed".
The default value for this property is "Auto"; when this is set, most browsers will auto-size a column to fit the content of the widest cell in the table. When this happens, you won't see a cell wrap or show an overflow indicator.
look at appearance browser..
Grid element
framestyle
textoverflow = ellipsis