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 03:37 AM

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)

            MyBase.OnKeyDown(e1)

        Else

            MyBase.OnKeyDown(e)

        End If

    End Sub

Loader.
Live Chat Icon For mobile
Up arrow icon