We have problems in scrolling datagrid with long description column. If the display value for a column is not too long, the scrolling is working properly. However if there is a long description shown in a column as shown in the attached screen, the screen will hang when scrolling in the datagrid and the WPF window cannot be recovered until closed and reopened. The no of records are not that large and are around 600 only. Below is the reference code. Please advice the solution.
style dictionary file
<
Style TargetType="{x:Type telerik:RadGridView}">
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
<Setter Property="RowIndicatorVisibility" Value="Collapsed"/>
<Setter Property="AutoGenerateColumns" Value="False"/>
<Setter Property="AutoExpandGroups" Value="True" />
</Style>
<Style TargetType="{x:Type telerik:GridViewDataColumn}">
<Setter Property="TextWrapping" Value="Wrap" />
<Setter Property="Width" Value="Auto" />
<Setter Property="Header">
<Setter.Value>
<TextBlock TextWrapping="Wrap" />
</Setter.Value>
</Setter>
</Style>
xaml file
<
telerik:RadGridView Grid.Row="0" ItemsSource="{Binding SearchResult, Mode=OneWay}" IsReadOnly="True" IsFilteringAllowed="True">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Cost_Centre_Code}" Header="Cost Centre" Width="Auto"> </telerik:GridViewDataColumn>
...
<telerik:GridViewDataColumn DataMemberBinding="{Binding Description_Display}" Header="Description" Width="*"> </telerik:GridViewDataColumn>
<telerik:GridViewDataColumn DataMemberBinding="{Binding DR}" Header="DR" TextAlignment="Right" HeaderTextAlignment="Right" Width="Auto"> </telerik:GridViewDataColumn>
<telerik:GridViewDataColumn DataMemberBinding="{Binding CR}" Header="CR" TextAlignment="Right" HeaderTextAlignment="Right" Width="Auto"> </telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>
</telerik:RadGridView>