Reputation: 133
It has a RadGridView (WEB WPF Application) the corresponding data set including an identifier and a description that usually is so long that it not is clearly legible in the row.
How to modify the grid so that when having a selected row that can be "expanded" or shown on multiple lines to make it more readable?
Upvotes: 0
Views: 976
Reputation: 6547
Try making a DataTemplate contaning a TextBlock with text wrapping to display your data.
<DataTemplate x:Key="ExpedibleCellTemplate">
<TextBlock Text="{Binding Description}" TextWrapping="Wrap">
</DataTemplate>
Then in your RadGridView set the appropriate Column's data Template
<telerik:GridViewDataColumn CellTemplate="{StaticResource ExpedibleCellTemplate}"/>
Upvotes: 2