/syncfusion-javascript:syncfusion-javascript-gantt-chartfrom Syncfusion JavaScript UI Controls
Implement Syncfusion Gantt Chart using JavaScript/TypeScript (Essential JS 2). Use this when working with ej2-gantt component for project scheduling, task dependencies, and timeline management. Covers full Gantt implementation including data binding, task scheduling (auto/manual/custom, week/month duration units), columns (serial number column), resources, timeline configuration, WBS, resource view, critical path, baseline tracking, filtering, sorting, editing (taskbar draw for creating unscheduled tasks), and export functionality (Excel/PDF). Advanced features: task calendars with custom working time, hierarchical checkbox selection modes, dependency type restrictions (allowedDependencyTypes), calendar-driven scheduling with holidays and working time exceptions.
Ships in Syncfusion JavaScript UI Controls. 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 comprehensive skill for implementing the Syncfusion Essential JS 2 Gantt Chart component in JavaScript/TypeScript projects. Covers everything from initial setup to advanced features like critical path, resource management, virtual scrolling, and export.
Use this skill when the user needs to:
import { Gantt, Edit, Filter, Sort, Toolbar } from '@syncfusion/ej2-gantt';
Gantt.Inject(Edit, Filter, Sort, Toolbar);
let gantt: Gantt = new Gantt({
dataSource: [
{
TaskID: 1, TaskName: 'Project Initiation',
StartDate: new Date('04/02/2024'), EndDate: new Date('04/21/2024'),
subtasks: [
{ TaskID: 2, TaskName: 'Identify Site location', StartDate: new Date('04/02/2024'), Duration: 4, Progress: 50 },
{ TaskID: 3, TaskName: 'Soil test approval', StartDate: new Date('04/02/2024'), Duration: 4, Predecessor: '2FS', Progress: 50 }
]
}
],
height: '450px',
taskFields: { id: 'TaskID', name: 'TaskName', startDate: 'StartDate', endDate: 'EndDate', duration: 'Duration', progress: 'Progress', dependency: 'Predecessor', child: 'subtasks' },
toolbar: ['Add', 'Edit', 'Delete', 'Update', 'Cancel', 'ExpandAll', 'CollapseAll', 'Search'],
editSettings: { allowAdding: true, allowEditing: true, allowDeleting: true, allowTaskbarEditing: true },
allowSorting: true,
allowFiltering: true
});
gantt.appendTo('#Gantt');
📄 Read: references/getting-started.md
📄 Read: references/data-binding.md
📄 Read: references/task-scheduling.md
taskMode: 'Auto' (default) / 'Manual' / 'Custom' — controls date validation behaviourvalidateManualTasksOnLinking: true enables predecessor-based validation onlytaskFields.manual boolean field in data sourceallowUnscheduledTasks: true — tasks with only start date, only end date, only duration, or none; if false, defaults to duration 1 from projectStartDatedurationUnit (project-wide: 'Day'/'Hour'/'Minute'/'Week'/'Month'); per-task via taskFields.durationUnit field or inline string ('4hours', '30min', '2weeks', '1month')Duration: 0 renders a diamond shapeprojectStartDate / projectEndDate — constrain chart range; auto-calculated if omitteddayWorkingTime — define working hour ranges (default: 8–12 and 13–17); used for auto-scheduling calculationsweekWorkingTime — per-day-of-week working hours; overrides dayWorkingTime for listed days; unlisted days fall back to dayWorkingTimeworkWeek — specify working days (default: Mon–Fri); includeWeekend: true makes Sat/Sun working dayshighlightWeekends: true — visually shade non-working days in chart📄 Read: references/task-constraints.md
📄 Read: references/task-dependency.md
📄 Read: references/calendar-settings.md
📄 Read: references/critical-path.md
📄 Read: references/baseline.md
queryTaskbarInfo event (e.g., gradient styling)baselineTemplate for custom HTML structure, including multiple baseline renderinghasChildRecords)📄 Read: references/resources.md
📄 Read: references/resource-view.md
📄 Read: references/multi-taskbar.md
📄 Read: references/work.md
📄 Read: references/columns.md
📄 Read: references/column-operations.md
📄 Read: references/timeline.md
📄 Read: references/timeline.md
📄 Read: references/sorting.md
allowSorting: true + Sort module injectionsortSettings.columns array (field + direction)gantt.sortModule.sortColumn(field, direction, isMultiSort); clear all: gantt.clearSorting()actionBegin / actionComplete with args.requestType === 'sorting'columns.allowSorting: falsesortSettings or programmatically📄 Read: references/filtering.md
📄 Read: references/selection.md
allowSelection: false disables all selection; Selection module requiredselectionSettings.mode: 'Row' (default) / 'Cell' / 'Both'selectionSettings.type: 'Single' (default) / 'Multiple' (Ctrl+click for multi-select)selectionSettings.enableToggle: true — click selected item again to deselecttype: 'checkbox'; works with hierarchical datahierarchyCheckboxMode: 'Self' / 'Hierarchy' (default) / 'FilteredHierarchy' — controls propagation of checkbox selection in parent-child hierarchiesenableHover: true — highlights rows, taskbars, header cells, and timeline cells on hoverselectedRowIndex for initial load; selectRow(index) / selectRows([indexes]) for dynamic selectionrowSelecting event with args.cancel = true; rowDeselecting to prevent deselectionmode: 'Cell'; selectCell({ rowIndex, cellIndex }) for dynamic selection; getSelectedRowCellIndexes() returns { cellIndexes, rowIndex }[]cellSelecting event with args.cancel = true; cellSelected fires afterdataBound via gantt.treeGrid.grid.dataSource + gantt.selectRows(indexes)getSelectedRowIndexes() → number[]; getSelectedRecords() → object[]gantt.clearSelection() — clears all selected rows and cellsenableVirtualization📄 Read: references/rows.md
📄 Read: references/rows-drag-drop.md
📄 Read: references/managing-tasks.md
📄 Read: references/taskbar-draw.md
allowTaskbarDraw: true in editSettings — enables drawing taskbars on the timeline to create or schedule unscheduled tasks📄 Read: references/undo-redo.md
📄 Read: references/toolbar.md
📄 Read: references/context-menu.md
📄 Read: references/event-markers.md
📄 Read: references/holidays.md
📄 Read: references/data-markers.md
📄 Read: references/labels.md
📄 Read: references/taskbar.md
📄 Read: references/scrolling.md
📄 Read: references/virtual-scroll.md
📄 Read: references/splitter.md
📄 Read: references/state-persistence.md
📄 Read: references/immutable.md
📄 Read: references/timezone.md
📄 Read: references/global-local.md
L10n.load({ 'de-DE': { gantt: { ... } } }) + locale: 'de-DE' on Gantt instancetaskBeforePredecessor_FS etc.)resourceID, writeNotes, task, tasks, saveButton, okText, from/to, taskLink, lag, start/finish, enterValue, above/below/child, milestone, toTask/toMilestone, eventMarkers, leftTaskLabel, rightTaskLabel, timelineCell, confirmPredecessorDelete, changeScheduleMode, subTasksStartDate/subTasksEndDate, scheduleStartDate/scheduleEndDate, unit, work, taskType, grouploadCldr(cagregorian, numbers) + setCulture() for locale-aware date/number formatting; CLDR data from @syncfusion/ej2-cldr-dataenableRtl: true + matching locale (e.g., 'ar-AE') — reverses text direction and full layout'en-US'📄 Read: references/excel-export.md
allowExcelExport, toolbar items: ExcelExport, CsvExportexcelExport() / csvExport() methods, export to blob (4th arg isBlob)dataSource in ExcelExportProperties)excelQueryCellInfo + args.style.backColor)AppendToSheet (same sheet, blankRows) and NewSheet modes📄 Read: references/pdf-export.md
allowPdfExport, toolbar item📄 Read: references/loading-animation.md
📄 Read: references/accessibility.md
📄 Read: references/gantt-methods.md
autoFitColumns(field?), getGanttColumns(), getGridColumns(), refreshColumns(), reorderColumns(from, to), removeSortColumn(field)getRecordByID(id), getTaskByUniqueID(uid), getRowByID(id), getRowByIndex(index), getTaskInfo(taskId), getCurrentViewData(), getExpandedRecords(records)reorderRows(fromIndexes, toIndex, position) — programmatic row move with position: 'above' | 'below' | 'middleSegment'; requires allowRowDragAndDrop + RowDDexpandByIndex(index | index[]), expandByID(id), collapseByIndex(index), collapseByID(id)cancelEdit(), deleteRecord(taskDetail), updateRecordByIndex(index, data), updateRecordByID({TaskID, ...}), updateTaskId(currentId, newId), changeTaskMode(data), convertToMilestone(id), openAddDialog(data?, position?), openEditDialog(id)removePredecessor(id) — removes all dependencies from a tasksplitTask(taskId, splitDate | splitDate[]), mergeTask(taskId, segmentIndexes) — requires allowTaskbarEditing; parent/milestones cannot be splitselectCells(rowCellIndexes) — select cells by { rowIndex, cellIndexes[] } pairs; requires mode: 'Cell'scrollToTask(taskId), setScrollTop(px), updateChartScrollOffset(left, top)updateDataSource(dataSource, { projectStartDate, projectEndDate }), updateProjectDates(projectStartDate, projectEndDate) — refresh timeline range without swapping datagetCriticalTasks() → IGanttData[]; requires enableCriticalPath + CriticalPath modulegetUndoActions(), getRedoActions(), clearUndoCollection(), clearRedoCollection() — requires enableUndoRedo + UndoRedo moduleenableItems(itemIds, enable) — enable/disable toolbar items at runtime; item IDs follow {ganttElementId}_{itemText} (e.g., Gantt_add); requires Toolbar modulegetDurationString(value, unit), getWorkString(value, unit), getTaskbarHeight()gantt.methodName(args) (TypeScript/JavaScript)📄 Read: references/events.md
args.cancel; argument types vary by operation (ITaskAddedEventArgs, ITimeSpanEventArgs, FilterEventArgs, SortEventArgs, IDependencyEventArgs, ZoomEventArgs)args.requestType (filtering, sorting, save, delete, AfterZoomIn/Out/ToProject)args.error[0] for error detailsargs.cancel = true prevents editing; args: cancel, cell, columnName, columnObject, row, rowData, value, validationRulesargs.content or set args.cancel = trueargs.cancel = true aborts; isCsv flag for Excel vs CSVselectionSettings.mode: 'Cell' or 'Both'): cellSelecting (cancel to prevent), cellSelected, cellDeselecting, cellDeselected — CellSelectEventArgs (cellIndex, cells, currentCell, data, previousRowCell) and CellDeselectEventArgs (cellIndexes, cells, data)allowReordering: true + Reorder module): columnDragStart, columnDrag, columnDrop — ColumnDragEventArgs (column, target, draggableType)showColumnMenu: true + ColumnMenu module): columnMenuOpen (ColumnMenuOpenEventArgs: cancel, column, element, items, left, top, parentItem), columnMenuClick (ColumnMenuClickEventArgs: name, column, element, item)args.promise.then((e) => e.blobData)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/column-operations.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/data-markers.md (opens in a new tab)references/event-markers.md (opens in a new tab)references/events.md (opens in a new tab)references/excel-export.md (opens in a new tab)references/filtering.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/global-local.md (opens in a new tab)references/holidays.md (opens in a new tab)references/immutable.md (opens in a new tab)references/labels.md (opens in a new tab)references/loading-animation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-javascript67 skills in this plugin
/syncfusion-javascript-3d-chartCreate interactive 3D charts in Syncfusion TypeScript and JavaScript. Immediately use this skill when user needs to build 3D visualizations, render 3D column/bar charts, configure 3D rotation and depth, visualize data in three dimensions, customize 3D chart appearance, handle 3D interactions, or implement advanced 3D features. Works with TypeScript (webpack/module-based) and JavaScript (CDN/ES5)./syncfusion-javascript-accordionBuild collapsible navigation panels with the Syncfusion TypeScript Accordion component. Use this skill when implementing vertical accordion menus, expanding/collapsing content panels, multi-step wizards, data-driven panels with dynamic content, tabbed navigation alternatives, or nested hierarchical content structures. Covers initialization, expand modes, animations, icons, templates, styling, data binding, and advanced use cases like form wizards./syncfusion-javascript-accumulation-chartImplements Syncfusion JavaScript accumulation charts (Pie, Doughnut, Funnel, Pyramid) for proportional and percentage-based visualizations. Use when displaying categorical or proportional data. Covers legend and label configuration, interactivity, accessibility, and customization. Works with TypeScript (modules) and JavaScript (CDN/ES5).Other plugins' skills for the same job