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

Update summary after INotifyPropertyChanged

1 Answer 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
hui
Top achievements
Rank 1
hui asked on 28 Nov 2016, 04:56 AM
I have a GridView whose ItemsSource binding to an ObservableCollection. The item in the collection implements INotifyPropertyChanged. After I update a property in the item code behind for example 'Price', the related SumFunction in GridViewDataColumn doesn't update. I don't want to call GridView.CalculateAggregates method. Is there any way to solve this problem.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 29 Nov 2016, 01:01 PM
Hi Hui,

Generally, this would be the expected behavior. When editing an item outside the UI, the data engine needs to receive a notification, so that it updates the aggregates. The approach for achieving this is documented in the Aggregates are not updated help topic.

Hopefully, it helps.

Regards,
Stefan X1
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
Tags
GridView
Asked by
hui
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or