Hello-
I have a GridView which is being bound to an object where one of the string fields can be long enough that the text needs to wrap in the cell to be visible. I've set TextWrapping=Wrap on 1) The GridViewDataColumn in question 2)GridView.RowStyle 3) GridViewDataColumn.CellStyle. None of these result in the text wrapping in the cell, instead the content is cut off at the end of the cell. Are there any other reasons why text wrapping wouldn't work?
Thanks!
Greg
<telerikGridView:RadGridView x:Name="gridView_AuditHistory_Events"
VerticalAlignment="Top"
IsReadOnly="false"
AutoGenerateColumns="False"
ColumnsWidthMode="Fill"
RowIndicatorVisibility="Collapsed"
ShowGroupPanel="false"
IsFilteringAllowed="false"
IsEnabled="true"
Template="{StaticResource RadGridViewTemplate}"
RowStyle="{StaticResource GridViewRowStyle1}" >
<telerikGridView:RadGridView.Columns>
<telerikGridView:GridViewDataColumn HeaderText="TimeStamp" DataMemberPath="EventDateTime" Width="140" CellStyle="{StaticResource GridViewCellStyle1}"/>
<telerikGridView:GridViewDataColumn HeaderText="User Alias Causing Change" DataMemberPath="ContactAlias" Width="160" CellStyle="{StaticResource GridViewCellStyle1}"/>
<telerikGridView:GridViewDataColumn HeaderText="Event Type" DataMemberPath="EventName" Width="200" CellStyle="{StaticResource GridViewCellStyle1}"/>
<telerikGridView:GridViewDataColumn HeaderText="Additional Event Data" DataMemberPath="EventData" TextWrapping="Wrap" CellStyle="{StaticResource GridViewCellStyle1}"/>
</telerikGridView:RadGridView.Columns>
</telerikGridView:RadGridView>