I'm evaluating telerik gridview for the project I'm working on. I noticed the CurrentItem does not change when I change selections in the grid. The setter on CurrentItem in the ViewModel only gets triggered at the very first time.
Here's the definition of the Grid:
<telerik:RadGridView Name="GroceryGrid" ItemsSource="{Binding GroceryList}" IsSynchronizedWithCurrentItem="True" AutoGenerateColumns="False" SelectionMode="Multiple" CurrentItem="{Binding CurrentItem, Mode=TwoWay}" SelectedItem="{Binding SelectedItem, Mode=TwoWay}" ShowColumnFooters="True" DockPanel.Dock="Top" >In the ViewModel:
private GroceryItem currentItem;
public GroceryItem CurrentItem{ get { return this.currentItem; } set { this.currentItem = value; base.RaisePropertyChangedEvent("CurrentItem"); }}Please help. Thanks!
Dongzhi