Skip to main content


fires before the user is pressing a shortcut key

beforeKeyDown: (e: Event) => boolean | void;


  • e: Event - a native KeyboardEvent object


Return false to prevent pressing a shortcut key; otherwise, false.

Example"beforeKeyDown", function (e) {
// your logic here
// return true

Related sample: Grid. Events

The event fires when a cell of Grid has a keyboard focus.

Change log:

added in v6.4