UpdateCellValue fires for when any property changes

4 posts, 0 answers
  1. Alexander
    Alexander avatar
    78 posts
    Member since:
    Apr 2013

    Posted 24 Mar 2015 Link to this post

    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
  2. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 25 Mar 2015 Link to this post

    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.

     
  3. Alexander
    Alexander avatar
    78 posts
    Member since:
    Apr 2013

    Posted 25 Mar 2015 in reply to Stefan Link to this post

    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...
  4. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 27 Mar 2015 Link to this post

    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.

     
Back to Top