DGEventName
Event-name constants for DataGrid (public API).
Union type of all DataGrid event names.
type DGEventName = typeof DGEvents[keyof typeof DGEvents]Runtime Values
Section titled “Runtime Values”Use DGEvents to reference these values from runtime code:
const DGEvents = { CELL_CHANGE: 'cell-change', CELL_COMMIT: 'cell-commit', ROW_COMMIT: 'row-commit', EDIT_OPEN: 'edit-open', EDIT_CLOSE: 'edit-close', CHANGED_ROWS_RESET: 'changed-rows-reset', MOUNT_EXTERNAL_VIEW: 'mount-external-view', MOUNT_EXTERNAL_EDITOR: 'mount-external-editor', SORT_CHANGE: 'sort-change', COLUMN_RESIZE: 'column-resize', CELL_ACTIVATE: 'cell-activate', GROUP_TOGGLE: 'group-toggle', COLUMN_STATE_CHANGE: 'column-state-change', DATA_CHANGE: 'data-change', TBW_SCROLL: 'tbw-scroll',} as const;| Key | Value |
|---|---|
CELL_CHANGE | 'cell-change' |
CELL_COMMIT | 'cell-commit' |
ROW_COMMIT | 'row-commit' |
EDIT_OPEN | 'edit-open' |
EDIT_CLOSE | 'edit-close' |
CHANGED_ROWS_RESET | 'changed-rows-reset' |
MOUNT_EXTERNAL_VIEW | 'mount-external-view' |
MOUNT_EXTERNAL_EDITOR | 'mount-external-editor' |
SORT_CHANGE | 'sort-change' |
COLUMN_RESIZE | 'column-resize' |
CELL_ACTIVATE | 'cell-activate' |
GROUP_TOGGLE | 'group-toggle' |
COLUMN_STATE_CHANGE | 'column-state-change' |
DATA_CHANGE | 'data-change' |
TBW_SCROLL | 'tbw-scroll' |
See Also
Section titled “See Also”DataGridEventMap— the canonical, type-checked event registry
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt