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

INotifyPropertyChanged not updating column values

2 Answers 147 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 13 Jan 2013, 12:02 AM
In an MVVM application I have a RadGridView bound to an ObservableCollection of objects that implement INotifyPropertyChanged. I can edit an object in this collection in another viewmodel and I can see this change propagate (via a PropertyChanged event handler on the current item) to the viewmodel with the RadGridView but the grid does up update the column.

The grid does see additions and deletions from the collection, but not individual object property changes.

I know this worked at one time, and we have upgraded our telerik tools recently, so I'm wondering if anything has changed.

2 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 1
answered on 13 Jan 2013, 01:44 PM
I've heard from my teammates that this may be a problem down in our framework implementation, so I'd ignore this for now. I will update this thread as soon as that is confirmed.

0
Kevin
Top achievements
Rank 1
answered on 15 Jan 2013, 02:26 PM
Yes indeed, this problem turned out to be in our code, not the control. In short, we were using property indexers instead of hard-coded properties in our object and the indexers weren't fully INPC for that particular object.
Tags
GridView
Asked by
Kevin
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 1
Share this question
or