# GanttEvent (@salmonui/gantt)

> The GanttEvent type of @salmonui/gantt: Base of Gantt events: the Data Grid event shape.

Canonical: https://salmonui.dev/docs/reference/gantt/GanttEvent

```ts
import type { GanttEvent } from '@salmonui/gantt';
```

Entry index: https://salmonui.dev/docs/reference/gantt (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/gantt.md).

## Reference

Kind: type

```ts
type GanttEvent = DataGridEvent;
```

Base of Gantt events: the Data Grid event shape.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: string;` | inherited | `'sortChange'`, `'beforeSortChange'`, ... |
| `source` | `source: DataGridEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited | True after `preventDefault()` (before-events and click events). |
| `preventDefault` | `preventDefault: () => void;` | inherited | Before-events and click events: cancels the action (or the built-in behavior). |
