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

Selected and Current Cells go out of sync

2 Answers 90 Views
GridView
This is a migrated thread and some comments may be shown as answers.
StackOverflowed
Top achievements
Rank 1
StackOverflowed asked on 22 Mar 2011, 09:30 PM
Here's a very simple sample. Maximize the window, click on a grid and just hold down the "down arrow" key. After a few seconds at most, you will see that current item will keep on being updated as the grid scrolls down, while the selected item just disappears.

<Window x:Class="WPFSpike2.MainWindow"
        xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" Title="MainWindow" Height="350" Width="525">
     
    <Window.Resources>
        
    </Window.Resources>
    <UniformGrid Rows="3"
                 Columns="3">
 
        <UniformGrid Rows="3"
                     Columns="3">
            <Button Content="TopLeft" />
            <Button Content="Top" />
            <Button Content="TopRight" />
            <Button Content="Left" />
 
            <telerik:RadGridView ShowGroupPanel="False"
                                 ItemsSource="{Binding Points}"
                                 IsSynchronizedWithCurrentItem="False"
                                 SelectionUnit="Cell"
                                 SelectionMode="Single"
                                 RowHeight="25" />
 
            <Button Content="Right" />
            <Button Content="BottomLeft" />
            <Button Content="Bottom" />
            <Button Content="BottomRight" />
 
        </UniformGrid>
 
        <UniformGrid Rows="3"
                     Columns="3">
            <Button Content="TopLeft" />
            <Button Content="Top" />
            <Button Content="TopRight" />
            <Button Content="Left" />
 
            <telerik:RadGridView ShowGroupPanel="False"
                                 ItemsSource="{Binding Points}"
                                 IsSynchronizedWithCurrentItem="False"
                                 SelectionUnit="Cell"
                                 SelectionMode="Extended"
                                 RowHeight="25" />
 
            <Button Content="Right" />
            <Button Content="BottomLeft" />
            <Button Content="Bottom" />
            <Button Content="BottomRight" />
 
        </UniformGrid>
 
        <UniformGrid Rows="3"
                     Columns="3">
            <Button Content="TopLeft" />
            <Button Content="Top" />
            <Button Content="TopRight" />
            <Button Content="Left" />
 
            <telerik:RadGridView ShowGroupPanel="False"
                                 ItemsSource="{Binding Points}"
                                 IsSynchronizedWithCurrentItem="False"
                                 SelectionUnit="Cell"
                                 SelectionMode="Extended"
                                 RowHeight="25" />
 
            <Button Content="Right" />
            <Button Content="BottomLeft" />
            <Button Content="Bottom" />
            <Button Content="BottomRight" />
 
        </UniformGrid>
 
        <UniformGrid Rows="3"
                     Columns="3">
            <Button Content="TopLeft" />
            <Button Content="Top" />
            <Button Content="TopRight" />
            <Button Content="Left" />
 
            <telerik:RadGridView ShowGroupPanel="False"
                                 ItemsSource="{Binding Points}"
                                 IsSynchronizedWithCurrentItem="False"
                                 SelectionUnit="Cell"
                                 SelectionMode="Extended"
                                 RowHeight="25" />
            <Button Content="Right" />
            <Button Content="BottomLeft" />
            <Button Content="Bottom" />
            <Button Content="BottomRight" />
 
        </UniformGrid>
 
        <UniformGrid Rows="3"
                     Columns="3">
            <Button Content="TopLeft" />
            <Button Content="Top" />
            <Button Content="TopRight" />
            <Button Content="Left" />
 
            <telerik:RadGridView ShowGroupPanel="False"
                                 ItemsSource="{Binding Points}"
                                 IsSynchronizedWithCurrentItem="False"
                                 SelectionUnit="Cell"
                                 SelectionMode="Extended"
                                 RowHeight="25" />
 
            <Button Content="Right" />
            <Button Content="BottomLeft" />
            <Button Content="Bottom" />
            <Button Content="BottomRight" />
 
        </UniformGrid>
 
        <UniformGrid Rows="3"
                     Columns="3">
            <Button Content="TopLeft" />
            <Button Content="Top" />
            <Button Content="TopRight" />
            <Button Content="Left" />
            <telerik:RadGridView ShowGroupPanel="False"
                                 ItemsSource="{Binding Points}"
                                 IsSynchronizedWithCurrentItem="False"
                                 SelectionUnit="Cell"
                                 SelectionMode="Extended"
                                 RowHeight="25" />
 
            <Button Content="Right" />
            <Button Content="BottomLeft" />
            <Button Content="Bottom" />
            <Button Content="BottomRight" />
 
        </UniformGrid>
 
        <UniformGrid Rows="3"
                     Columns="3">
            <Button Content="TopLeft" />
            <Button Content="Top" />
            <Button Content="TopRight" />
            <Button Content="Left" />
 
            <telerik:RadGridView ShowGroupPanel="False"
                                 ItemsSource="{Binding Points}"
                                 IsSynchronizedWithCurrentItem="False"
                                 SelectionUnit="Cell"
                                 SelectionMode="Extended"
                                 RowHeight="25" />
 
            <Button Content="Right" />
            <Button Content="BottomLeft" />
            <Button Content="Bottom" />
            <Button Content="BottomRight" />
 
        </UniformGrid>
 
        <UniformGrid Rows="3"
                     Columns="3">
            <Button Content="TopLeft" />
            <Button Content="Top" />
            <Button Content="TopRight" />
            <Button Content="Left" />
 
            <telerik:RadGridView ShowGroupPanel="False"
                                 ItemsSource="{Binding Points}"
                                 IsSynchronizedWithCurrentItem="False"
                                 SelectionUnit="Cell"
                                 SelectionMode="Extended"
                                 RowHeight="25" />
 
            <Button Content="Right" />
            <Button Content="BottomLeft" />
            <Button Content="Bottom" />
            <Button Content="BottomRight" />
 
        </UniformGrid>
 
        <UniformGrid Rows="3"
                     Columns="3">
            <Button Content="TopLeft" />
            <Button Content="Top" />
            <Button Content="TopRight" />
            <Button Content="Left" />
 
            <telerik:RadGridView ShowGroupPanel="False"
                                 ItemsSource="{Binding Points}"
                                 IsSynchronizedWithCurrentItem="False"
                                 SelectionUnit="Cell"
                                 SelectionMode="Extended"
                                 RowHeight="25" />
 
            <Button Content="Right" />
            <Button Content="BottomLeft" />
            <Button Content="Bottom" />
            <Button Content="BottomRight" />
 
        </UniformGrid>
 
    </UniformGrid>
 
</Window>

2 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 24 Mar 2011, 12:11 PM
Hi StackOverflowed,

Thank you for reporting this problem.
We will investigate it and we will try to address it in some of our next versions.

Please, excuse us for the inconvenience caused. I have updated your Telerik points.
 
Best wishes,
Yordanka
the Telerik team
0
Yordanka
Telerik team
answered on 25 Mar 2011, 02:08 PM
Hello StackOverflowed,

We have tested the scenario with our latest internal build - version .0322 and scrolling is now working correctly. Please, give it a try and let us know if you still experience the issue.
 
Best wishes,
Yordanka
the Telerik team
Tags
GridView
Asked by
StackOverflowed
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Share this question
or