This is a migrated thread and some comments may be shown as answers.
Realtime Scrolling and Virtialization on Columns/Rows makes the scrolling jumping and bumping
0 Answers 36 Views
This is a migrated thread and some comments may be shown as answers.
bernd kopp
Top achievements
Rank 1
bernd kopp asked on 19 Jul 2011, 09:23 PM
I tried your latest demo 2010.2

The GridView has 8 Rows. Each Row has a RichTextBox as DataTypeColumn.

On the GridView the Virtualization on Columns + Rows is turned on also the Realtime scrolling.

When I drag now the thumb bar of the Scrollbar the DataRows are jumping with a delay. Seems the creating of a datarow when it is getting into the visible area is badly solved. 

What is wrong with my code and how can I improve smoothness of the scrolling ?

Using the so called crap DataGrid from Microsoft the scrolling is superb and the DataGrid is loaded 3 times faster... I just miss the features you offer...

my test code:

<telerik:RadGridView x:Name="dailyGrid" <br>                ItemsSource="{Binding PeriodListViewModel}"<br>                ScrollMode="RealTime"                 <br>                AutoGenerateColumns="False"                 <br>                CanUserDeleteRows="False"<br>                CanUserInsertRows="False"<br>                CanUserReorderColumns="False"<br>                CanUserResizeColumns="False"<br>                CanUserSortColumns="False"<br>                DataLoadMode="Asynchronous"<br>                RowStyle="{StaticResource ResourceKey=RowStyle}" <br>                RowIndicatorVisibility="Collapsed" EnableRowVirtualization="False" EnableColumnVirtualization="False"><br><br>                <telerik:RadGridView.Columns><br>                    <telerik:GridViewDataColumn Header="Content" Width="*"><br>                        <telerik:GridViewDataColumn.CellTemplate><br>                            <DataTemplate><br>                                <Grid HorizontalAlignment="Stretch"><br>                                    <Grid.RowDefinitions><br>                                        <RowDefinition Height="200" /><br>                                    </Grid.RowDefinitions><br>                                    <telerik:RadRichTextBox VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch"                                                             <br>                                                            IsSpellCheckingEnabled="False" <br>                                                              x:Name="RTFBox" /><br>                                    <telerikProvider:RtfDataProvider                                        <br>                                        Rtf="{Binding Path=Content}"<br>                                        UpdateSourceTrigger="LostFocus" <br>                                        RichTextBox="{Binding ElementName=RTFBox}" /><br>                                </Grid><br>                            </DataTemplate><br>                        </telerik:GridViewDataColumn.CellTemplate><br>                    </telerik:GridViewDataColumn>                                    <br>                </telerik:RadGridView.Columns><br>            </telerik:RadGridView>-->


btw. the DataLoadMode Async or Sync there seems no difference for me. The data is always loaded syncronously because the GridView is only visible when all data is loaded... thats not async!

No answers yet. Maybe you can help?

Asked by
bernd kopp
Top achievements
Rank 1
Share this question
or