View as Markdown

API reference: @salmonui/data-grid/engine

KeyContexttype

import type { KeyContext } from '@salmonui/data-grid/engine';

Also exported from @salmonui/data-grid/engine/keyboard.

type KeyContext = 'body' | 'header' | 'pager' | 'groupCaption' | 'groupChip' | 'editor' | 'global';

Where focus is when the key is pressed. global bindings work from anywhere in the document.