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

UpdateCellValue fires for when any property changes

3 Answers 51 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 24 Mar 2015, 11:19 AM
Hello,

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

Sort by
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.

Best Regards,
Stefan
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Alexander
Top achievements
Rank 1
answered on 25 Mar 2015, 03:10 PM
My problem is:

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.

We apologize for any inconvenience caused.

Best Regards,
Stefan
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
GridView
Asked by
Alexander
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Alexander
Top achievements
Rank 1
Share this question
or