/syncfusion-vue:syncfusion-vue-gantt-chartfrom Syncfusion Vue UI Components
Implement Syncfusion Vue Gantt Chart (@syncfusion/ej2-vue-gantt) for Vue 2 and Vue 3. Use this when building project scheduling interfaces with task timelines, dependencies, and resource management. Covers data binding, task scheduling, columns, filtering, editing, Excel/PDF export, critical path, and resource allocation. Supports ejs-gantt and GanttComponent.
Ships in Syncfusion Vue UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A project management component that renders a Microsoft Project-like interface for scheduling and managing tasks, dependencies, and resources in Vue 2 and Vue 3 applications.
Use this skill when the user needs to:
| Feature | Module to Inject | Key Property / API |
|---|---|---|
| Editing | Edit | editSettings |
| Filtering | Filter | allowFiltering |
| Sorting | Sort | allowSorting |
| Selection | Selection | selectionSettings |
| Toolbar | Toolbar | toolbar |
| Day Markers | DayMarkers | eventMarkers, holidays |
| Excel Export | ExcelExport | excelExport() |
| PDF Export | PdfExport | pdfExport() |
| Virtual Scroll | VirtualScroll | enableVirtualization |
| Critical Path | CriticalPath | enableCriticalPath |
| Undo / Redo | UndoRedo | enableUndoRedo, undoRedoStepsCount, undoRedoActions |
| Column Menu | ColumnMenu | showColumnMenu |
| Context Menu | ContextMenu | contextMenuItems |
Package: @syncfusion/ej2-vue-gantt
Component tag: <ejs-gantt>
Composition API import: GanttComponent as EjsGantt
Options API component key: 'ejs-gantt': GanttComponent
📄 Read: references/getting-started.md
@syncfusion/ej2-vue-gantt and theme packagetaskFieldsprovide)actionFailure📄 Read: references/data-binding.md
parentID)RemoteSaveAdaptor (batchUrl)load + Query.addParams()actionFailure📄 Read: references/task-scheduling.md
taskMode)Auto (default): dates validated against working time, holidays, weekends, predecessorsManual: all dates taken as-is from data source — no auto-adjustmentvalidateManualTasksOnLinking: true — enforce predecessor dates even in Manual modetaskFields.manual boolean field (true = manual)taskFields mapping (id, name, startDate, endDate, duration, durationUnit, progress, parentID, dependency, work, type, notes, etc.)durationUnit — day, hour, minute, week, month; default day)taskFields.durationUnit data field'3days', '12hours', '1800minutes', '2weeks', '3months'daysPerWeek, daysPerMonth)duration: 0)allowUnscheduledTasks: false auto-fills missing dates with duration=1 + project startdayWorkingTime with from/to — inject DayMarkers)weekWorkingTime — overrides dayWorkingTime for listed days; unlisted days fall back to dayWorkingTime)workWeek array + highlightWeekendsincludeWeekend: true to count weekends in duration calculations📄 Read: references/calendar-settings.md
calendarSettings.projectCalendar) — default working hours and holidays for all taskscalendarSettings.taskCalendar) — custom calendars for specific tasks via taskFields.calendarIddayWorkingTime, weekWorkingTime)📄 Read: references/baseline.md
renderBaseline: true)baselineStartDate, baselineEndDate, baselineDuration)baselineDuration: 0)baselineColor property or .e-baseline-bar CSS classbaselineTemplate for custom rendering, multiple baselines per task (original vs revised)baselineTop, baselineHeight, taskBarHeight, getTaskLeft())📄 Read: references/task-constraints.md
taskFields.constraintType — maps numeric constraint type field from datataskFields.constraintDate — maps the constraint date field from dataactionBegin with requestType === 'validateTaskViolation' — intercept violationsargs.validateMode.respectMustStartOn/Off flags — silent enforcement (suppress popup)respectMustStartOn, respectMustFinishOn, respectStartNoLaterThan, respectFinishNoLaterThandata.ganttProperties.constraintTypeSelection, Toolbar, DayMarkers, Edit, Filter, Sort, ContextMenu📄 Read: references/task-dependencies.md
"{ID}{Type}" e.g. "2FS", "3SS"allowedDependencyTypes property (array of allowed types)"2FS+2days", "4FF+960m", "7SS+16h", "3FS-1days""2FS,3FF"taskFields.dependency — maps predecessor string fieldallowParentDependency: true (default) — allow parent-to-parent/child linksdependency is mappedEdit module + allowTaskbarEditing: trueautoUpdatePredecessorOffset: true — recalculates offsets on initial load to match calendar-adjusted positionsthis.$refs.gantt.ej2Instances.autoUpdatePredecessorOffset = valueupdateOffsetOnTaskbarEdit: false — disables auto offset update when dragging taskbaractionBegin with requestType === 'validateLinkedTask' — handle dependency validationargs.validateMode.respectLink — revert edit if it violates linkargs.validateMode.removeLink — remove link and keep editargs.validateMode.preserveLinkWithEditing — update offset and keep both (default true).e-gantt-dependency-view-container visibility CSS toggle📄 Read: references/managing-tasks.md
editSettings) — inject Edit modulenumericedit, dropdownedit, booleanedit, datepickeredit, datetimepickereditcreate/write/read/destroy hooks)columns.allowEditing: false)readOnly: true)editModule.addRecord()actionBegin + beforeOpenAddDialog)addDialogFields / editDialogFields with fields and additionalParams)inlineMode via additionalParamseditModule.deleteRow(); confirm dialog with showDeleteConfirmDialogindent() / outdent() methodstaskFields.segments with embedded Segments array) or Self-referential (taskFields.segmentId + segmentData flat collection), dynamically via context menu, dialog, or splitTask()taskbarEditing event + args.cancel)queryTaskbarInfo + CSS .e-preventEdittooltipSettings.editing template)columns.validationRules)validationRules)actionBegin (beforeOpenEditDialog)UrlAdaptor + batchUrl (added/changed/deleted collections)updateRecordByID(), addRecord(), deleteRecord(), indent(), outdent()📄 Read: references/taskbar-draw.md
allowTaskbarDraw: true in editSettings) — create/schedule unscheduled tasks via timeline drag📄 Read: references/resources.md
resourceFieldsresourceInfo)📄 Read: references/columns.md
field, headerText, width, format)ColumnsDirective / e-columns + e-column directives📄 Read: references/timeline.md
timelineSettings — top tier and bottom tier unitstimelineUnitSizetimelineViewMode shortcut (set both tiers at once)viewStartDate / viewEndDate — fixed visible date rangeweekStartDay — custom first day of week (0–6)updateTimescaleView — auto-update timescale on task changesshowTooltip — timeline cell tooltip on hovershowWeekend — show or hide weekend columnstimelineTemplate — custom cell content for timeline tiersenableInfiniteTimelineScroll — enable infinite horizontal scrolling (extends timeline dynamically as user navigates)📄 Read: references/filtering-and-sorting.md
allowFiltering)filterSettings configurationallowSorting)sortSettingsgantt.search(key) methodsearchSettings — fields, operator, ignoreCaseactionBegin / actionComplete (args.requestType === 'sorting')📄 Read: references/selection.md
allowSelection: false — disable selection'Row' / 'Cell' / 'Both''Single' / 'Multiple'selectedRowIndex — pre-select a row on initial loadselectRow, selectRows)dataBoundgetSelectedRowCellIndexes()selectCell)enableToggle)enableHover)selectionSettings full reference tableclearSelection, getSelectedRecords, getSelectedRowIndexes)rowSelecting (args.cancel = true)cellSelecting (args.cancel = true)checkboxMode options and hierarchy modes'Self' (independent), 'Hierarchy' (propagate through tree), 'FilteredHierarchy' (propagate within filtered view)📄 Read: references/toolbar.md
click handler📄 Read: references/taskbar-and-labels.md
labelSettings — left, right, taskLabel📄 Read: references/event-markers-and-holidays.md
eventMarkers — vertical lines with labels on key datesholidays — non-working day highlightshighlightWeekends)DayMarkers module📄 Read: references/export.md
📄 Read: references/rows-and-scrolling.md
rowHeight — uniform row height in pixels (default 46px)collapseAllParentTasks: true — start all parents collapsedtaskFields.expandState — map a boolean data field to per-task expand/collapse stateexpanding / collapsing events — args.cancel = true to block specific rowsexpanded / collapsed events — fire after action (no cancel)rowDataBound — style entire rows; queryCellInfo — style individual cells.e-altrow (grid) + tr.e-chart-row:nth-child(even) (chart)queryCellInfo args.rowSpancolumns.clipMode — Clip | Ellipsis | EllipsisWithTooltip (default)RowDD, Edit; allowRowDragAndDrop: trueallowTaskbarDragAndDrop — taskbar position drag between rowsrowDragStartHelper — prevent drag conditionally via args.cancelrowDrop — validate/cancel drop; args.dropPosition = 'above'|'below'|'child'reorderRows(fromIndexes, toIndex, position) — programmatic row reorderscrollToDate('MM/DD/YYYY') — scroll timeline to a datescrollToTask('id') — scroll chart to a task's taskbarsetScrollTop(px) — vertical scroll; also via ganttChartModule.scrollObject.setScrollTop()height: '100%', width: '100%' (parent needs explicit height)enableVirtualization: true, inject VirtualScrollenableTimelineVirtualization — render only visible timeline columns📄 Read: references/layout-and-splitter.md
splitterSettings — column index or positionenablePersistence)'gantt' + componentId)addOnPersist override)getPersistData + treeGrid.setProperties)📄 Read: references/undo-redo.md
enableUndoRedo: true, inject UndoRedo)undoRedoStepsCount — history depthundoRedoActions — restrict which actions are trackedundo() / redo()getUndoActions() / getRedoActions()clearUndoCollection() / clearRedoCollection()📄 Read: references/accessibility.md
📄 Read: references/gantt-methods.md
this.$refs.gantt (Options API) — ref="gantt" on <ejs-gantt>autoFitColumns(fieldNames?), getGanttColumns(), getGridColumns(), refreshColumns(), reorderColumns(from, to)cancelEdit(), changeTaskMode(data), convertToMilestone(id), deleteRecord(taskDetail), updateRecordByIndex(index, data), updateTaskId(currentId, newId)expandByID(), expandByIndex(), collapseByID(), collapseByIndex()splitTask(taskId, splitDate), mergeTask(taskId, segmentIndexes)removePredecessor(id)getRecordByID(id), getRecordByIndex(), getTaskByUniqueID(id), getTaskInfo(taskId), getCurrentViewData(), getExpandedRecords(records), getCriticalTasks()getRowByID(id), getRowByIndex(index), getTaskbarHeight()getDurationString(duration, unit), getWorkString(work, unit)scrollToTask(taskId), setScrollTop(scrollTop), updateChartScrollOffset(left, top)updateDataSource(dataSource, args)removeSortColumn(columnName)selectCells(rowCellIndexes) — requires selectionSettings.mode: 'Cell'📄 Read: references/context-menu.md
ContextMenu, Edit, Sort, Resize, Selection modulesenableContextMenu: true, allowSorting: true, allowResizing: trueAutoFit, AutoFitAll, SortAscending, SortDescending, TaskInformation, Add, Indent, Outdent, DeleteTask, Save, Cancel, DeleteDependency, Convert{ text, id, target, iconCss }target: '.e-content' restricts item to row right-click; target: '.e-gridheader' to headercontextMenuClick event — handle custom actions via args.item.idcontextMenuOpen event — hide items dynamically via args.hideItems; check args.type !== 'Header'📄 Read: references/critical-path.md
enableCriticalPath, inject CriticalPath)'CriticalPath')queryTaskbarInfodata.isCritical and data.slack properties📄 Read: references/timezone-and-globalization.md
timezone — IANA string (e.g. 'UTC', 'America/New_York') applied at render timetimezone: 'UTC' — display same times for all users regardless of local clocktimezone + durationUnit: 'Hour' + dateFormat: 'hh:mm a' + bottom tier unit: 'Hour'actionComplete receives local-time-reversed date for DB persistenceargs.data.ganttProperties.endDate in actionComplete — post-edit value already converted back to local timeTimezone class (@syncfusion/ej2-base) — manual timezone arithmetictimezone.offset(date, tz) → offset in minutes from UTCtimezone.convert(date, fromOffset, toOffset) → date in target timezone (IANA or numeric)timezone.remove(date, tz) → strips offset, returns wall-clock time as plain datelocale, L10n.load())enableRtl: true + locale strings)format: 'dd/MM/yyyy' or 'yMd')currencyCode — set currency for monetary columnsnpm install @syncfusion/ej2-vue-gantt --save
<template>
<ejs-gantt
id="gantt"
:dataSource="data"
:taskFields="taskFields"
height="450px"
></ejs-gantt>
</template>
<script setup>
import { GanttComponent as EjsGantt } from '@syncfusion/ej2-vue-gantt';
const data = [
{ TaskID: 1, TaskName: 'Planning', StartDate: new Date('04/02/2019'), EndDate: new Date('04/06/2019'), ParentID: null },
{ TaskID: 2, TaskName: 'Identify location', StartDate: new Date('04/02/2019'), Duration: 4, Progress: 50, ParentID: 1 },
{ TaskID: 3, TaskName: 'Perform soil test', StartDate: new Date('04/02/2019'), Duration: 4, Progress: 50, ParentID: 1 },
];
const taskFields = {
id: 'TaskID',
name: 'TaskName',
startDate: 'StartDate',
endDate: 'EndDate',
duration: 'Duration',
progress: 'Progress',
parentID: 'ParentID'
};
</script>
<style>
@import "../node_modules/@syncfusion/ej2-tailwind3-theme/styles/gantt/index.css";
</style>
<script>
import { GanttComponent, Edit, Filter, Sort, Toolbar, Selection, DayMarkers } from '@syncfusion/ej2-vue-gantt';
export default {
name: 'App',
components: { 'ejs-gantt': GanttComponent },
data() {
return {
data: [...],
taskFields: { id: 'TaskID', name: 'TaskName', startDate: 'StartDate', duration: 'Duration', progress: 'Progress', parentID: 'ParentID' },
toolbar: ['Add', 'Edit', 'Delete', 'Update', 'Cancel', 'ExpandAll', 'CollapseAll'],
editSettings: { allowAdding: true, allowEditing: true, allowDeleting: true, allowTaskbarEditing: true }
};
},
provide: {
gantt: [Edit, Filter, Sort, Toolbar, Selection, DayMarkers]
}
};
</script>
Features in the Gantt Chart require explicit module injection. Only inject modules for features you enable to keep bundle size lean:
// Composition API (Vue 3)
import { provide } from 'vue';
import { Edit, Filter, Sort, Toolbar } from '@syncfusion/ej2-vue-gantt';
provide('gantt', [Edit, Filter, Sort, Toolbar]);
// Options API
provide: { gantt: [Edit, Filter, Sort, Toolbar] }
// Self-referential (flat array with ParentID — recommended for CRUD)
taskFields: { id: 'TaskID', name: 'TaskName', startDate: 'StartDate', duration: 'Duration', parentID: 'ParentID' }
// Hierarchical (nested subtasks array)
taskFields: { id: 'TaskID', name: 'TaskName', startDate: 'StartDate', duration: 'Duration', child: 'subtasks' }
<ejs-gantt
:dataSource="data"
:taskFields="taskFields"
:editSettings="editSettings"
:toolbar="toolbar"
:allowFiltering="true"
:allowSorting="true"
:splitterSettings="{ columnIndex: 2 }"
:timelineSettings="{ topTier: { unit: 'Week' }, bottomTier: { unit: 'Day' } }"
height="500px"
></ejs-gantt>
| Prop | Type | Purpose |
|---|---|---|
dataSource | Array / DataManager | Task data |
taskFields | Object | Maps data fields to Gantt fields |
height | String | Component height (e.g., '450px') |
toolbar | Array | Toolbar item names or custom item objects |
editSettings | Object | Controls which edit operations are allowed |
allowFiltering | Boolean | Enables column filter menu |
allowSorting | Boolean | Enables column header sorting |
timelineSettings | Object | Top/bottom tier units and format |
splitterSettings | Object | Grid/chart panel width split |
labelSettings | Object | Left, right, and task label fields |
resources | Array | Resource collection |
resourceFields | Object | Maps resource id/name fields |
eventMarkers | Array | Vertical marker lines with labels |
holidays | Array | Non-working day definitions |
projectStartDate | Date | Explicit project start |
projectEndDate | Date | Explicit project end |
enableVirtualization | Boolean | Virtual row rendering for large data |
enableCriticalPath | Boolean | Highlights critical path tasks |
baselineTemplate | function/string | Custom baseline rendering for planned schedules and advanced baseline layouts |
enableInfiniteTimelineScroll | boolean | Enable infinite horizontal timeline scrolling by extending the visible range as the user navigates |
references/accessibility.md (opens in a new tab)references/baseline.md (opens in a new tab)references/calendar-settings.md (opens in a new tab)references/columns.md (opens in a new tab)references/context-menu.md (opens in a new tab)references/critical-path.md (opens in a new tab)references/data-binding.md (opens in a new tab)references/event-markers-and-holidays.md (opens in a new tab)references/export.md (opens in a new tab)references/filtering-and-sorting.md (opens in a new tab)references/gantt-methods.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/layout-and-splitter.md (opens in a new tab)references/managing-tasks.md (opens in a new tab)references/resources.md (opens in a new tab)references/rows-and-scrolling.md (opens in a new tab)references/selection.md (opens in a new tab)references/task-constraints.md (opens in a new tab)references/task-dependencies.md (opens in a new tab)references/task-scheduling.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-vue49 skills in this plugin
/syncfusion-vue-3d-chartImplementing Syncfusion Vue 3D Chart component for interactive 3D data visualization. Use this skill ALWAYS when user needs to create 3D charts, visualize data in 3D columns/bars, customize 3D chart axes, configure 3D chart types, style 3D chart appearance, implement user interactions like tooltips and selection, or export/print 3D charts. Essential for displaying multidimensional data with rotation, perspective, and enhanced visual appeal./syncfusion-vue-3d-circular-chartCreate interactive 3D pie and donut charts using Syncfusion Vue components. Use this skill whenever the user needs to visualize data as circular/pie charts with 3D perspective, create donut visualizations, add data labels to charts, customize chart legends, tooltips, empty points and animations. Trigger when user mentions 3D charts, pie charts, donut charts, circular visualizations, 3D pie, data visualization, chart rotation, chart interactivity, or circular types./syncfusion-vue-accumulation-chartMaster Syncfusion Vue Accumulation Charts for building pie, doughnut, funnel, and pyramid visualizations. Always includes data binding, legend configuration, data labels, and accessibility features. Immediately implement any chart type, customize styling, configure legends, format data labels, and add drill-down interactivity using ALWAYS comprehensive examples and patterns.Other plugins' skills for the same job