On a Button Click, making multiple cells editable in a selected row of a ReadOnly DataGrid
问题 Question : In a ReadOnly DataGrid, how can we place multiple cells, in a selected row, in Edit mode? In following ReadOnly DataGrid, the btnEdit_Click event (shown below) successfully places the FirstName column cell of selected row in the edit mode. But I need both FirstName and LastName column cells in the edit mode. If I enclose the entire code of that event in a for loop as for (int i=2; i <=3; i++){...} only the last cell ( LastName ) column gets the edit mode. Remark : All other rows