Hi Everyone,
I have grid with MasterTable TableLayout="Fixed" and I'm using static headers, below is the declaration for one of the columns in the grid.
<telerik:GridButtonColumn CommandName ="Edit" DataTextField="Description" HeaderText="Description"
UniqueName="Description" SortExpression="Description" HeaderStyle-Width="250px" ItemStyle-Wrap="false" HeaderStyle-Wrap="false" />
As you can see I have explicitly set the width and Wrapping is turned off but the cell contents are still being wrapped.
Why is this happening, if I remove the width setting the cell contents are correctly truncated.
The only way to truncate the cell contents with the width being explicitly set is to add DataTextFormatString="<nobr>{0}</nobr>"
to the column declaration. This feels like yet another hack, shouldn't the ItemStyle-Wrap = false do this?
Many thanks
Antony