API reference
@salmonui/gantt
69 exported symbols: 1 component, 1 function, 42 interfaces, 24 types and 1 constant. Each name links its page with the signature, docs and members.
import { … } from '@salmonui/gantt';Components
Functions
parseDependenciesDependencies of a predecessor string or array; malformed entries are skipped, duplicates keep the first.
Interfaces
GanttActionResultResults of Gantt actions.GanttAdaptiveadaptive options.GanttApiref; extends the grid pane's DataGridApi.GanttCalendarA named working calendar. exceptions without ranges are non-working.GanttChartPointerEventGanttContextMenuItemClickEventGanttContextMenuOpenEventGanttDependencyA link from a predecessor (id) to the task that owns it; lag in lagUnit of working time (negative = lead).GanttDependencyChangeEventGanttDialogOpenEventGanttEditingediting.GanttErrorEventGanttExportEventGanttExportFileGanttExportWritersExport writers: loaders of @salmonui/export subpaths.GanttHolidayA holiday: shaded and non-working for the engine.GanttIndicatorA task indicator.GanttMarkerAn event marker.GanttPdfExportOptionsA PDF export.GanttPropsGanttResourceFieldsresourceFields. Defaults id, name, unit, group.GanttScheduleConflictEventGanttSplittersplitter.GanttSplitterEventGanttStateGanttTaskChangeEventGanttTaskFieldstaskFields: the row property that holds each task role. Defaults are the role names.GanttTaskInfoComputed task information (getTaskInfo).GanttTaskbarClickEventGanttTaskbarContextA taskbar render context.GanttTaskbarEditEventGanttTaskbarPropsgetTaskbarProps result: applied to the taskbar part.GanttTierOne timeline tier.GanttTimelinetimeline.GanttTimelineCellContexttimeline.renderCell / tier render context.GanttToolbarItemClickEventGanttTooltipOpenEventGanttTooltipOptionstooltip.GanttUndoundo.GanttWorkingTimeworkingTime: hours as decimals (8, 17.5); week overrides dayRanges per weekday (0 = Sunday).GanttZoomChangeEventGanttZoomLevelA zoom level: two tiers and the bottom-tier cell width.
Types
ConstraintTypeGanttColumnPresetTask column presets.GanttContextMenuItemGanttContextMenuItemIdBuilt-in context menu items.GanttDateInputA date value accepted by the task roles: Date, ISO string, epoch ms or a plain date-time ({ year, month, day, hour?, minute? }).GanttDependencyTypeGanttDialogTabA dialog tab.GanttDurationUnitGanttEventBase of Gantt events: the Data Grid event shape.GanttEventSourceGanttGridExportOptionsExcel / CSV export options: the Data Grid export options and hooks.GanttGridPropsGrid-pane props passed to the DataGrid unchanged (GGRID rows keep the Data Grid names).GanttLabelLabel value: a field name or a render function.GanttLocaleKeyGanttLocaleTextGanttResourceA resource.GanttTaskModeGanttTaskRoleGanttTaskTypeGanttTaskbarActionGanttTimeUnitGanttToolbarItemGanttToolbarItemIdBuilt-in toolbar items.GanttWorkUnit
Constants
GANTT_DEFAULT_LOCALE_TEXTEnglish defaults.