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

[Solved] RowIndicator Sticked

2 Answers 85 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.
Yonggu Kang
Top achievements
Rank 1
Iron
Yonggu Kang asked on 07 Oct 2010, 06:58 PM
Hi All,

Pls see attached image of my gridview's rowindicator.
Though I moved row, rowindicator sticked at first row,however selectedItem is correct.

My xaml is nothing special as follows;

  <telerik:RadGridView HorizontalAlignment="Stretch" ItemsSource="{Binding Path=Model}"
                             Name="popChkTypesViewModelRadGridView" Style="{StaticResource EditGridStyle}"
                                 HorizontalContentAlignment="Center" SelectedItem="{Binding Path=SelectedRow,Mode=TwoWay}">

 <Style x:Key="EditGridStyle" TargetType="telerikGridView:RadGridView">
        <Setter Property="AutoGenerateColumns" Value="False"/>
        <Setter Property="IsReadOnly" Value="False"/>
        <Setter Property="IsFilteringAllowed" Value="False"/>
        <Setter Property="ShowGroupPanel" Value="False"/>
        <Setter Property="CanUserDeleteRows" Value="True"/>
        <Setter Property="CanUserInsertRows" Value="True"/>
        <Setter Property="ShowColumnFooters" Value="True"/>
        <Setter Property="FontSize" Value="12"/>
    </Style>

I might miss something simple but don't know what should be done.
Thank you in advance.

Kang

2 Answers, 1 is accepted

Sort by
0
Yonggu Kang
Top achievements
Rank 1
Iron
answered on 08 Oct 2010, 08:52 AM
I found the answer here.

http://www.telerik.com/community/forums/silverlight/gridview/row-selection-not-working.aspx

Why is this very basic thing make me spend time with this wonderful product ?

Kang
0
Vanya Pavlova
Telerik team
answered on 08 Oct 2010, 03:44 PM
Hello Yong-Gu,

That is normal behaviour, because IsSynchronizedWithCurrentItem property of RadGridView is set to False by default. Setting this property to True will resolve the issue.

Best wishes,
Vanya Pavlova
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
Yonggu Kang
Top achievements
Rank 1
Iron
Answers by
Yonggu Kang
Top achievements
Rank 1
Iron
Vanya Pavlova
Telerik team
Share this question
or