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

Periodically updating column values

1 Answer 168 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Hazy
Top achievements
Rank 1
Hazy asked on 19 Sep 2016, 08:30 PM

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?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Sep 2016, 03:13 PM
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.
Tags
GridView
Asked by
Hazy
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or