All docs
V19.1
24.2
The page you are viewing does not exist in version 24.2.
24.1
The page you are viewing does not exist in version 24.1.
23.2
The page you are viewing does not exist in version 23.2.
23.1
The page you are viewing does not exist in version 23.1.
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
19.1
18.2
18.1
17.2
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Common - Keyboard Support

The DevExtreme UI widgets enable you to use the keyboard to switch between widgets within a view. The widget tabbing order is specified by the tabIndex option. When an end-user presses Tab or Shift+Tab, focus is moved to the widget with a higher or lower tabIndex value respectively.

JavaScript
var buttonOptions = {
    text: 'Click me',
    tabIndex: 0
}
var checkBoxOptions = {
    value: true,
    tabIndex: 1
}
var textBoxOptions = {
    placeholder: 'Input text'
    tabIndex: 2
}

If a widget is focused, the dx-state-focused css class is applied to the widget element. You can modify this class to use a custom style for a widget when it is focused.

Focused widgets can be fully controlled with the keyboard. To learn how to control a certain widget using the keyboard, refer to the widget description in the UI Widgets guides.