# GanttTaskFields (@salmonui/gantt)

> The GanttTaskFields interface of @salmonui/gantt: taskFields: the row property that holds each task role. Defaults are the role names.

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

```ts
import type { GanttTaskFields } 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: interface

```ts
interface GanttTaskFields {
    readonly id?: string;
    readonly title?: string;
    readonly start?: string;
    readonly end?: string;
    readonly duration?: string;
    readonly durationUnit?: string;
    readonly progress?: string;
    readonly parentId?: string;
    readonly children?: string;
    readonly predecessors?: string;
    readonly milestone?: string;
    readonly notes?: string;
    readonly baselineStart?: string;
    readonly baselineEnd?: string;
    readonly baselineDuration?: string;
    readonly resources?: string;
    readonly work?: string;
    readonly taskType?: string;
    readonly manual?: string;
    readonly segments?: string;
    readonly indicators?: string;
    readonly expanded?: string;
    readonly constraintType?: string;
    readonly constraintDate?: string;
    readonly calendar?: string;
    readonly className?: string;
}
```

`taskFields`: the row property that holds each task role. Defaults are the role names.

Members (26):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id?: string;` | optional |  |
| `title` | `readonly title?: string;` | optional |  |
| `start` | `readonly start?: string;` | optional |  |
| `end` | `readonly end?: string;` | optional |  |
| `duration` | `readonly duration?: string;` | optional |  |
| `durationUnit` | `readonly durationUnit?: string;` | optional |  |
| `progress` | `readonly progress?: string;` | optional |  |
| `parentId` | `readonly parentId?: string;` | optional | Flat data: the parent task id. |
| `children` | `readonly children?: string;` | optional | Nested data: the child task array. Default `'children'` when `parentId` is not mapped. |
| `predecessors` | `readonly predecessors?: string;` | optional |  |
| `milestone` | `readonly milestone?: string;` | optional |  |
| `notes` | `readonly notes?: string;` | optional |  |
| `baselineStart` | `readonly baselineStart?: string;` | optional |  |
| `baselineEnd` | `readonly baselineEnd?: string;` | optional |  |
| `baselineDuration` | `readonly baselineDuration?: string;` | optional |  |
| `resources` | `readonly resources?: string;` | optional |  |
| `work` | `readonly work?: string;` | optional |  |
| `taskType` | `readonly taskType?: string;` | optional |  |
| `manual` | `readonly manual?: string;` | optional |  |
| `segments` | `readonly segments?: string;` | optional |  |
| `indicators` | `readonly indicators?: string;` | optional |  |
| `expanded` | `readonly expanded?: string;` | optional |  |
| `constraintType` | `readonly constraintType?: string;` | optional |  |
| `constraintDate` | `readonly constraintDate?: string;` | optional |  |
| `calendar` | `readonly calendar?: string;` | optional |  |
| `className` | `readonly className?: string;` | optional |  |
