API reference: @salmonui/data-grid
DataGridEditCancelEventinterface
import type { DataGridEditCancelEvent } from '@salmonui/data-grid';interface DataGridEditCancelEvent extends DataGridEvent {
readonly rowId: RowId | null;
readonly field: string | null;
readonly scope: 'editor' | 'batch';
}
onBeforeEditCancel / onEditCancel.
| Name | Signature | Description |
|---|---|---|
rowId | readonly rowId: RowId | null; | |
field | readonly field: string | null; | |
scope | readonly scope: 'editor' | 'batch'; |
|
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). |