This is a migrated thread and some comments may be shown as answers.

Group Auto Expand scrolling

1 Answer 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Voss Grose
Top achievements
Rank 1
Voss Grose asked on 12 Apr 2011, 07:38 PM
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>

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 13 Apr 2011, 07:11 AM
Hi,

 Indeed with Q1 2011 we optimized the grid cells creation greatly - you can check for example this demo where the grid is bound to 1 mil. records with 1000 columns. You can check grouping examples as well. 

Regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Voss Grose
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or