可以这样处理:在DataGrid的CurrentCellChanged事件中作处理,将当前行的所有列的ReadOnly设为true。