# Hotkeys demo

Try pressing up/down/left/right/del. The buttons below enable/disable the hotkeys (useful if you have another component on the page that may use keyboard navigation). You can attach the enable command to the onfocus event if you will - that way if the user clicks anywhere inside the tree container shortcuts will start working.

- Root node 1
  - Child node 1
  - Child node 2
  - Some other child node with longer text
- Root node 2