View as Markdown

API reference: @salmonui/gantt

GanttContextMenuItemClickEventinterface

import type { GanttContextMenuItemClickEvent } from '@salmonui/gantt';
interface GanttContextMenuItemClickEvent<Row> extends GanttEvent {
    readonly item: string;
    readonly taskId: RowId | null;
    readonly task: Row | null;
}
GanttContextMenuItemClickEvent members (7, 4 inherited)
NameSignatureDescription
itemreadonly item: string;
taskIdreadonly taskId: RowId | null;
taskreadonly task: Row | null;
typeinheritedtype: string;

'sortChange', 'beforeSortChange', ...

sourceinheritedsource: DataGridEventSource;
defaultPreventedinheriteddefaultPrevented: boolean;

True after preventDefault() (before-events and click events).

preventDefaultinheritedpreventDefault: () => void;

Before-events and click events: cancels the action (or the built-in behavior).