API reference: @salmonui/data-grid
DataGridContextMenuCloseEventinterface
import type { DataGridContextMenuCloseEvent } from '@salmonui/data-grid';interface DataGridContextMenuCloseEvent extends DataGridEvent {
readonly target: DataGridContextMenuTarget;
}
onBeforeContextMenuClose (cancellable: the menu stays open).
| Name | Signature | Description |
|---|---|---|
target | readonly target: DataGridContextMenuTarget; | |
typeinherited | type: string; |
|
sourceinherited | source: DataGridEventSource; | |
defaultPreventedinherited | defaultPrevented: boolean; | True after |
preventDefaultinherited | preventDefault: () => void; | Before-events and click events: cancels the action (or the built-in behavior). |