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

[Solved] Grid scrolling hang browser

1 Answer 102 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alejandro Vazquez
Top achievements
Rank 1
Alejandro Vazquez asked on 07 Oct 2009, 11:22 PM
Hi Telerik team!

We have a grid which is loaded with 10000 records maximun (usually just a couple hundreds) and we are grouping by one of its fields. Everything was going fine until our browsers starts to freeze after we played a little (really short time) with the scroll. We were working long time to find the reason, but everthing seems to point to the grid itself and we are pretty worried because we really need the scroll working properly.  We are sure that it is not a browser related issue because we tested our application in Explorer, Firefox, Opera, etc. and the trouble appears in all of them. One thing that we realised is that the problem seems to disappear if we don't use grouping... but it is the main reason because we are using the telerik grid. By the other hand, we tryied to put the grid into a scrollViewer object and besides of we lost the grid header while scrolling it takes too much time to render the grid when there are more than 1000 or 2000 records. So we really appreciate if you could give us some idea in order to solve our issue as soon as posible.

The grid is the following one:

 

 

<Grid x:Name="LayoutRoot" ShowGridLines="True">
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition /> 
<
Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200" />
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<app:SearchFilter x:Name="searchFilter" Grid.Row="0" Grid.ColumnSpan="2" />
<grid:RadGridView x:Name="grdDatos" IsReadOnly="True"
ItemsSource="{Binding SearchResult}"
DataLoaded="grdDatos_DataLoaded"
ShowColumnFooters="True"
RowLoaded="grdDatos_RowLoaded"
AutoGenerateColumns="False"
ShowGroupPanel="False"
IsFilteringAllowed="False"
RowIndicatorVisibility="Collapsed"
CanUserFreezeColumns="False"
ColumnsWidthMode="Fill"
GridLinesVisibility="Vertical"
Grid.Column="1"
Grid.Row="1"
VerticalAlignment="Top" Margin="0">
<grid:RadGridView.GroupDescriptors>
<telerikData:GroupDescriptor Member="Project"/>
</grid:RadGridView.GroupDescriptors>
<grid:RadGridView.Columns>
<grid:GridViewDataColumn Header="Project" DataMemberPath="Project" />
<grid:GridViewDataColumn Header="ID" DataMemberPath="Id" Width="60" />
<grid:GridViewDataColumn Header="Title" DataMemberPath="Title" />
<grid:GridViewDataColumn Header="Text2" DataMemberPath="Text2" />
<grid:GridViewDataColumn Header="Text3" DataMemberPath="Text3" />
<grid:GridViewDataColumn Header="Text4" DataMemberPath="Text4" TextWrapping="Wrap" UniqueName="Text4" />
<grid:GridViewDataColumn Header="Date1" DataMemberPath="Date1" DataFormatString="{}{0:MM/dd/yyyy}" Width="75" />
<grid:GridViewDataColumn Header="Date2" DataMemberPath="Date2" DataFormatString="{}{0:MM/dd/yyyy}" UniqueName="Date2" />
<grid:GridViewDataColumn Header="Text5" DataMemberPath="Text5" />
</grid:RadGridView.Columns>
</grid:RadGridView>
</Grid>


Thanks in advance !!

Alejandro

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Oct 2009, 05:58 AM
Hi Alejandro,

Please check this thread for more info:
http://www.telerik.com/community/forums/silverlight/gridview/browser-freezes-on-scroll-wheel.aspx

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Alejandro Vazquez
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or