API reference: @salmonui/data-grid
DataGridColumnMenuCloseEventinterface
import type { DataGridColumnMenuCloseEvent } from '@salmonui/data-grid';interface DataGridColumnMenuCloseEvent<Row> extends DataGridEvent {
readonly field: string;
readonly column: DataGridColumnInfo<Row>;
}
onBeforeColumnMenuClose (cancellable: the menu stays open).
| Name | Signature | Description |
|---|---|---|
field | readonly field: string; | |
column | readonly column: DataGridColumnInfo<Row>; | |
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). |