I just noticed that all cells of a row are updated if any property of the ViewModel changes.
Is there any way to stop this?
In my opinion, there should be a dictionary which indicates which cells have to update if a certain property changes.
Alex
3 Answers, 1 is accepted
0
Stefan
Telerik team
answered on 25 Mar 2015, 02:56 PM
Hello Alex,
Indeed you are right, all cells within a row are updated when a value is being changed. This is due to RadGridView optimization engine, as it would be performance degrading to raise a notification for each cell change.
In my ViewModels (per Row), I have some live value which updates multiple times per second.
So your "optimization" leads to a large number of unnecessary "update" calls.
But the changing value is directly bound - so I don't need any notification...
0
Stefan
Telerik team
answered on 27 Mar 2015, 04:03 PM
Hello Alexander,
In my previous post I meant notifications concerning RadGridView's data engine. Please excuse me for this confusion.
As to the large number of update calls scenario, I am afraid there is not much we can do about it since this is incorporated in RadGridView's data engine design.