DataGridView focus
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I have a datagridview that I can rows using the down error and enterkey. I have DataGridView.Focus() firing after my method to addrows. The focus is on the proper cell but the cell is not active to type in. Does any have any suggestions on how to make the cell active?
-
I have a datagridview that I can rows using the down error and enterkey. I have DataGridView.Focus() firing after my method to addrows. The focus is on the proper cell but the cell is not active to type in. Does any have any suggestions on how to make the cell active?
you can select a cell with set the Selected property of that cell to true like
this.dataGridView1[0, 0].Selected=true;
hope the post would be useful good luck :)