Is there a way to highlight changed rows in the datagrid? Ie by binding the foreground brush (using a converter) to the state of the underlying DataRow?
Thanks
I found this:
http://forums.infragistics.com/forums/p/2701/16506.aspx#16506
And adapted the idea. But it only seems to re-evaluate when a row scrolls into view, not when leaving edit mode.
How can I get the converted to be called every time the active record changes?
I have also tried maintaining a dictionary of primary keys that have been edited. My valueconverter then looks for the current record's pk in the list, and returns Brushes.Red if it's there, otherwise Brushes.Black. When I save to the db the dictionary is cleared.
This ALMOST works but not quite. I have to scroll so that the edited record is out of sight, then scroll it back into view, to make it go red!
Help!