useGridEvent
useGridEvent(gridRef: RefObject<DataGridElement<any> | object | null>, eventName: K, handler: (event: unknown) => void, deps: unknown[]): voidParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
gridRef | RefObject<DataGridElement<any> | object | unknown> | Ref to the DataGrid component or element |
eventName | K | Name of the grid event to listen for |
handler | (event: unknown) => void | Event handler function |
deps | unknown[] | Optional dependency array (handler is stable if omitted) |
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