Skip to content

DGEventName

Union type of all DataGrid event names.

type DGEventName = unknown
function addListener(grid: DataGridElement, event: DGEventName): void {
grid.addEventListener(event, (e) => console.log(e));
}
  • DGEvents for event constants
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