Setting up Hotkeys
Summary
- This page shows how to use Hotkeys in AdapTable
You can define actions to run in response 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
keydownevent
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
keydownevent - Each key combination calls a different method on the Adaptable API:
alt+shift+s— opens the Format Column Settings Panel (Mousetrap)alt+shift+c— opens the Calculated Column Settings Panel (Mousetrap)meta+shift+l— opens the Layout Settings Panel (keydown)meta+shift+s— opens floating Quick Search (keydown)
Expand to see the key bindings
Try It Out
- Try the different HotKey combinations or fork the project to add some of your own
Loading demo…