We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Hitting 'Tab' key to shift the focus to next row.

In GridDataBoundGrid how to do this? By Hitting the 'Tab' key i want to shift the focus to next row.

1 Reply

AD Administrator Syncfusion Team May 8, 2003 07:37 AM UTC

One way you can do this is to inherit the GriddataBoundGrid and override OnKeyDown. There you can swap out the tab key for the down arrow key.
    Protected Overrides Sub OnKeyDown(ByVal e As System.Windows.Forms.KeyEventArgs)

        If e.KeyCode = Keys.Tab And e.Modifiers = Keys.None Then

            Dim e1 As New KeyEventArgs(Keys.Down)




        End If

    End Sub

Live Chat Icon For mobile
Up arrow icon