Dear All,
Hope you are doing fine. Just need some help from you. I want to input focus to a cell when the first row is added. below is the code I am using. But it is not working. Please advise.
Thanks,
Ashley
Hope you are doing fine. Just need some help from you. I want to input focus to a cell when the first row is added. below is the code I am using. But it is not working. Please advise.
Code:
Private Sub dgvlistitemtobout_RowsAdded(sender As Object, e As System.Windows.Forms.DataGridViewRowsAddedEventArgs) Handles dgvlistitemtobout.RowsAdded
dgvlistitemtobout.CurrentCell = dgvlistitemtobout.Item(0, 0)
dgvlistitemtobout.BeginEdit(True)
dgvlistitemtobout.Focus()
End SubAshley