DataGrid loosing selected row focus after DataContext is updated.

Dec 2, 2008 at 4:17 PM
Hello,

 I'm using DataGird to display items. In the background Grid's DataContext is being updated every second by DispacherTimer. When user selects grid row/cell, the selected row/cell looses focus on each DataContext update.

How could I avoid this behavour ? Or is there a better way to display information via Grid control in real-time?
Dec 3, 2008 at 7:47 AM
Hi,

This was discussed recently - see my last post in this thread:

http://www.codeplex.com/wpf/Thread/View.aspx?ThreadId=37823

Regards,
Colin E.
--
http://wpfadventures.wordpress.com/ - my WPF blog
http://www.codeproject.com/KB/WPF/WPFDataGridExamples.aspx - WPF DataGrid Practical Examples