Setting up Hotkeys
Summary
- This page show how it is possible to use Hotkeys in AdapTable
It is easy to set up 'Hot Key's in Adaptable - whereby you can define actions to be taken in reaction to a given set of keystrokes.
This can be accomplished in 2 ways:
- through a third party library (like Mousetrap)
- by listening to the native 'keydown' event
Hot Keys
- In this demo we have set 4 Hot Keys - 2 using mousetrap (a 3rd party library which is not shipped with AdapTable) and 2 using the native keydown event
- Each key press combination is tied to a different method in the Adaptable API to perform an action:
- 'alt+shift+s'- opens the Schedule popup (using Mousetrap)
- 'alt+shift+c'- opens the Calculated Column popup (using Mousetrap)
- 'metaKey+shiftKey+l'- opens the Layout popup (using keydown event)
- 'metaKey+shiftKey+s'- opens the Quick Search in Floating Mode (using keydown event)
Expand to see the key bindings
Try It Out
Try the different HotKey combinations or fork the project to add some of your own