Reputation: 14204
I have a Silverlight 4 application that uses a DataGrid. This DataGrid is bound to a List of approximately 1,000 records. One of the columns on this grid is dynamic in the sense that it should update once every thirty seconds.
I have a DispatcherTimer setup that is triggered every 30 seconds. My question is, what is the best way for me to update the values of just that one column?
Thank you!
Upvotes: 0
Views: 143
Reputation: 33252
Make each dataitem representing the row implementing INotifyPropertyChanged, and raise the event when you update the column value. This should work by displayng the canges as soon as you update the variable.
Upvotes: 2