I've seen a few other posts about this, but I'm getting really bad performance on vertical scrolling when AutoExpandGroups="True".
I only have about 200 rows.
EnableRowVirtualization="True"
The Grid does have a vertical scroll bar visible at all times.
If I remove the Group there is no performance issue at all.
I'm using Q4 2010 release.
Has anything changed to improve this in Q1 2011?
thanks,
voss.
Follow up: Part 2:
If I remove the Grouping and add the following code it degrades performance by about 50% even without the grouping.
<telerik:GridViewDataColumn Header="" UniqueName="Id" DataMemberBinding="{Binding Id}" Width="22" TextAlignment="Left" HeaderTextAlignment="Center">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<Button x:Name="btnActions" Height="25" Width="23" BorderThickness="0">
<telerik:RadContextMenu.ContextMenu>
<telerik:RadContextMenu x:Name="cmActions" Width="160" Height="Auto">
<telerik:RadMenuItem Header="Edit Reservation" Tag="B, 0">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Arrived" Tag="R, 1">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Partially Arrived" Tag="R, 2">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Confirmed" Tag="R, 6">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="On Way" Tag="R, 7">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Left Message" Tag="R, 8">
</telerik:RadMenuItem>
</telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>
<Image Source="../../Assets/images/TimeSlotAction.png" Height="15" Width="15" />
</Button>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>
I only have about 200 rows.
EnableRowVirtualization="True"
The Grid does have a vertical scroll bar visible at all times.
If I remove the Group there is no performance issue at all.
I'm using Q4 2010 release.
Has anything changed to improve this in Q1 2011?
thanks,
voss.
Follow up: Part 2:
If I remove the Grouping and add the following code it degrades performance by about 50% even without the grouping.
<telerik:GridViewDataColumn Header="" UniqueName="Id" DataMemberBinding="{Binding Id}" Width="22" TextAlignment="Left" HeaderTextAlignment="Center">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<Button x:Name="btnActions" Height="25" Width="23" BorderThickness="0">
<telerik:RadContextMenu.ContextMenu>
<telerik:RadContextMenu x:Name="cmActions" Width="160" Height="Auto">
<telerik:RadMenuItem Header="Edit Reservation" Tag="B, 0">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Arrived" Tag="R, 1">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Partially Arrived" Tag="R, 2">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Confirmed" Tag="R, 6">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="On Way" Tag="R, 7">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Left Message" Tag="R, 8">
</telerik:RadMenuItem>
</telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>
<Image Source="../../Assets/images/TimeSlotAction.png" Height="15" Width="15" />
</Button>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>