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

Slowness in Scrolling GridView with GridViewComboBoxColumn

1 Answer 33 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Andrew Chan
Top achievements
Rank 1
Andrew Chan asked on 28 Jun 2010, 11:35 PM
Hi there,

I experienced a serious slowness when scrolling the vertical bar of the gridview with gridvewcomboboxcolumn.
Below is the structure of the gridview I am using.
        <telerikGrid:RadGridView Name="gridModel" ItemsSource="{Binding Models}" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" CanUserDeleteRows="False" AutoGenerateColumns="False" ShowInsertRow="False" CanUserInsertRows="False" DataLoadMode="Asynchronous">  
            <telerikGrid:RadGridView.Columns> 
                <telerikGrid:GridViewDataColumn DataMemberBinding="{Binding Name}" /> 
                <telerikGrid:GridViewComboBoxColumn Header="Division" DataMemberBinding="{Binding Division.DisplayString}" DisplayMemberPath="DisplayString" SelectedValueMemberPath="DisplayString" ItemsSource="{Binding Divisions, Source={StaticResource LookupTypes}}" />         
                <telerikGrid:GridViewComboBoxColumn Header="Gender" DataMemberBinding="{Binding Gender.DisplayString}" DisplayMemberPath="DisplayString" SelectedValueMemberPath="DisplayString" ItemsSource="{Binding Genders, Source={StaticResource LookupTypes}}"   /> 
                <telerikGrid:GridViewComboBoxColumn Header="Age" DataMemberBinding="{Binding Age.DivisionDisplayString}" DisplayMemberPath="DisplayString" SelectedValueMemberPath="DivisionDisplayString" ItemsSource="{Binding Ages, Source={StaticResource LookupTypes}}"  /> 
                <telerikGrid:GridViewComboBoxColumn Header="Silhouette" DataMemberBinding="{Binding Silhouette.DivisionDisplayString}" DisplayMemberPath="DisplayString" SelectedValueMemberPath="DivisionDisplayString" ItemsSource="{Binding Silhouettes, Source={StaticResource LookupTypes}}"  /> 
                <telerikGrid:GridViewComboBoxColumn Header="Business Organization" DataMemberBinding="{Binding BusinessOrganization.DisplayString}" DisplayMemberPath="DisplayString" SelectedValueMemberPath="DisplayString" ItemsSource="{Binding BusinessOrganizations, Source={StaticResource LookupTypes}}"  /> 
                <telerikGrid:GridViewComboBoxColumn Header="Consumer Purpose" DataMemberBinding="{Binding ConsumerPurpose.DisplayString}" DisplayMemberPath="DisplayString" SelectedValueMemberPath="DisplayString" ItemsSource="{Binding ConsumerPurposes, Source={StaticResource LookupTypes}}"  /> 
                <telerikGrid:GridViewComboBoxColumn Header="Sport Activity" DataMemberBinding="{Binding SportActivity.DivisionDisplayString}" DisplayMemberPath="DisplayString" SelectedValueMemberPath="DivisionDisplayString" ItemsSource="{Binding SportActivities, Source={StaticResource LookupTypes}}"  /> 
                <telerikGrid:GridViewComboBoxColumn Header="Silhouette Type" DataMemberBinding="{Binding SilhouetteType.DivisionDisplayString}" DisplayMemberPath="DisplayString" SelectedValueMemberPath="DivisionDisplayString" ItemsSource="{Binding SilhouetteTypes, Source={StaticResource LookupTypes}}"  /> 
            </telerikGrid:RadGridView.Columns> 
        </telerikGrid:RadGridView> 

I tried to change all combo box column to data column and the performace of scrolling got much faster. Any reason why the slowness happen?

Thanks.

Regards,
Andrew

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 30 Jun 2010, 03:04 PM
Hi Andrew Chan,

I have send a reply on the internal support thread. 


Kind regards,
Milan
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
Andrew Chan
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or