Keyboard Interaction

28 Jun 20171 minute to read

TreeView support all possible keyboard interaction and it can be allowed by specifying allowKeyboardNavigation as true.

You can use the keyboard short cut keys as an alternative to the mouse and interact with TreeView.

Keyboard shortcut keys are,

Key Description
F2

To edit the selected node

Delete

To delete the selected node

Down

To hover the next index of selected node in downwards

Up

To hover the previous index of selected node in upwards

Right

To expands the node

Left

To collapse the node

Enter

To select the node

Space

To check or uncheck node

Home

Hovers the first root node of TreeView

End

Hovers the last node of the TreeView

Esc

Focus out the edit state

For more details about keyboard support, refer the sample here.