Periodically updating column values

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

    Posted 19 Sep Link to this post

    Hello,

    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 X1
    Admin
    Stefan X1 avatar
    521 posts

    Posted 20 Sep 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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top