By default, the keyboard navigation of the Kendo UI ListView for Angular is disabled. To enable the keyboard navigation, set the
navigable property to
The ListView supports the following keyboard shortcuts:
|Moves the focus to the next item. If the focus is on the last item, the focus does not move.|
|Moves the focus to the previous item. If the focus is on the first item, the focus does not move.|
|Moves the focus to the first rendered item.|
|Moves the focus to the last rendered item.|
To control the focus of the ListView items, use any of the following methods and props:
focus(index?: number)- Focuses the item at the targeted index. If no param is provided, the item that last received focus will be focused.
activeIndex- Gets the index of the item that last received focus. This value can be used as a starting point when performing external navigation.
The following example demonstrates how external focus management can be performed.