I've been trying to find out how to be notified (i.e. have a handler) when user edits or adds a new row in the DataGrid. As for editing, the closest I could find is RowEditEnding handler, but the problem with that handler is that I can't access the new values of the cells in the row being edited. This handler has only the old values, cause the event is triggered right before the data is committed.
Anyways, the list that is bound to the DataGrid is being properly updated both on edit and add, but what I want is to do appropriate SQL queries and update the sql table cause the list is made out of data pulled from the Database.
Any ideas?