Periodically updating column values

2 posts, 0 answers
  1. Hazy
    Hazy avatar
    3 posts
    Member since:
    Nov 2015

    Posted 19 Sep 2016 Link to this post


    I have a scenario with RadGridView where I want to display the value of a continuously changing data point (eg DateTime.Now) in one of the columns. I want the UI to be refreshed with the latest value periodically (once every second for example).

    My current solution is to periodically iterate through each item the ItemsSource and fire INotifyPropertyChanged event for the particular property that requires refresh. This works but there is a noticeable performance impact on the UI thread when the values are updated.

    My question is, does RadGridView have any support for updating an entire column on a periodic timer, rather than me having to iterate through all the rows and notify manually? If not can such support be added in the future?

  2. Stefan
    Stefan avatar
    1073 posts

    Posted 20 Sep 2016 Link to this post

    Hi Hazy,

    Can you please check out our Real-Time Update WPF Demo, as the implementation of this requirement is demonstrated in it?

    Hopefully, it helps.

    Best Regards,
    Stefan X1
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top