this article might be helpful:
DataGrid In-place Editing 
http://msdn.microsoft.com/msdnmag/issues/01/06/cutting/cutting0106.asp