Token导航 LogoToken导航

Agent Skill · 研究检索

syncfusion-javascript-gantt-chart(syncfusion JavaScript gantt chart 搜索)

用于辅助 Java 项目开发、面向对象设计、Spring 生态、Maven 或 Gradle 依赖和后端工程实践。它适合让 Agent 分析类结构、设计接口、整理服务分层、生成测试或检查常见代码坏味道。使用时需要结合项目已有架构、包结构和依赖版本,不应只按通用教程改代码;涉及数据库、事务、并发或框架配置时,应先确认运行环境和回归测试范围。

syncfusion-javascript-gantt-chart 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 70,834。

总安装 198周安装 8GitHub Stars 公开资料未说明下载 62核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-javascript-gantt-chart(syncfusion JavaScript gantt chart 搜索)
来源仓库:https://github.com/syncfusion/javascript-ui-controls-skills
仓库路径:skills/syncfusion-javascript-gantt-chart
安装命令:
npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-gantt-chart
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-gantt-chart

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助 Java 项目开发、面向对象设计和 Spring 生态实践。适合分析类结构、设计接口、整理服务分层或生成测试用例。通过 npx skills add 命令从指定 GitHub 仓库安装使用。使用时需结合项目已有架构,避免仅按通用教程修改代码。

syncfusion-javascript-gantt-chart 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/syncfusion-javascript-gantt-chart

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --ski…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-javascript-gantt-chart 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfus…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-javascript-gantt-chart 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-javascript-gantt-chart 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

syncfusion-javascript-gantt-chart 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-javascript-gantt-chart 用的人多吗?

公开数据是累计安装 198 次,近一周安装 8 次,下载 62 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-javascript-gantt-chart 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
syncfusion-javascript-gantt-chart

syncfusion JavaScript gantt chart 搜索 · 本页

198—需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Implementing Syncfusion Gantt Chart

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.

When to Use This Skill

Use this skill when the user needs to:

  • Set up the Syncfusion Gantt Chart from scratch (installation, dependencies, basic init)
  • Bind data (local hierarchical, flat/self-referential, remote DataManager, load-on-demand)
  • Configure task scheduling (auto/manual, milestones, duration units, constraints)
  • Define columns (custom columns, templates, frozen, WBS, checkbox, responsive)
  • Manage resources (assign resources, resource view, multi-taskbar, work/task types)
  • Configure timeline (top/bottom tiers, zooming, formatting)
  • Enable editing (cell, dialog, taskbar drag/resize, dependency editing, indent/outdent)
  • Implement filtering, sorting, searching on Gantt grid
  • Show task dependencies (FS, SS, FF, SF, offsets, connector lines)
  • Display critical path, baseline, event markers, holidays, data markers, labels
  • Export to Excel or PDF
  • Implement toolbar, context menu, undo/redo
  • Handle events, state persistence, localization, RTL, timezone
  • Optimize performance (virtual scroll, immutable mode, loading animation)

Quick Start

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');

Navigation Guide

Setup & Installation

📄 Read: references/getting-started.md

  • npm installation, webpack setup
  • Basic Gantt initialization (app.ts + index.html)
  • taskFields mapping, module injection
  • Error handling with actionFailure

Data Binding

📄 Read: references/data-binding.md

  • Local hierarchical and self-referential (flat) data
  • Remote data (DataManager, WebApiAdaptor, UrlAdaptor)
  • Load child on demand
  • Ajax binding, split tasks (segments)

Task Scheduling

📄 Read: references/task-scheduling.md

  • taskMode: 'Auto' (default) / 'Manual' / 'Custom' — controls date validation behaviour
  • Auto: parent taskbar derived from child min/max dates; dependencies shift successors automatically
  • Manual: user controls all dates; no recalculation; validateManualTasksOnLinking: true enables predecessor-based validation only
  • Custom: per-task scheduling via taskFields.manual boolean field in data source
  • Unscheduled tasks: allowUnscheduledTasks: true — tasks with only start date, only end date, only duration, or none; if false, defaults to duration 1 from projectStartDate
  • Duration units: durationUnit (project-wide: 'Day'/'Hour'/'Minute'); per-task via taskFields.durationUnit field or inline string ('4hours', '30min')
  • Milestones: Duration: 0 renders a diamond shape
  • projectStartDate / projectEndDate — constrain chart range; auto-calculated if omitted
  • dayWorkingTime — define working hour ranges (default: 8–12 and 13–17); used for auto-scheduling calculations
  • weekWorkingTime — per-day-of-week working hours; overrides dayWorkingTime for listed days; unlisted days fall back to dayWorkingTime
  • workWeek — specify working days (default: Mon–Fri); includeWeekend: true makes Sat/Sun working days
  • highlightWeekends: true — visually shade non-working days in chart

Task Constraints

📄 Read: references/task-constraints.md

  • Constraint types: ASAP(0), ALAP(1), MSO(2), MFO(3), SNET(4), SNLT(5), FNET(6), FNLT(7)
  • constraintType and constraintDate field mapping in taskFields
  • Benefits: enforce task sequences, anchor milestones, prevent resource conflicts
  • Handle constraint violations via actionBegin (requestType: 'validateTaskViolation')
  • validateMode flags: respectMustStartOn, respectMustFinishOn, respectStartNoLaterThan, respectFinishNoLaterThan
  • Constraint interaction with taskMode (Auto / Manual / Custom)
  • Editing constraints via dialog editor or programmatically (updateRecordByID)

Task Dependency

📄 Read: references/task-dependency.md

  • FS, SS, FF, SF types with lag/lead offsets (day/hour/minute units)
  • allowParentDependency, multiple predecessors (comma-separated)
  • Connector line customization (connectorLineWidth, connectorLineBackground)
  • addPredecessor / removePredecessor / updatePredecessor methods
  • Validation modes (respectLink, removeLink, preserveLinkWithEditing) via actionBegin
  • Validation dialog when all modes are disabled
  • autoUpdatePredecessorOffset — sync offsets against calendar rules on initial load
  • updateOffsetOnTaskbarEdit: false — preserve offsets during taskbar drag
  • Show/hide dependency lines dynamically via.e-gantt-dependency-view-container
  • enablePredecessorValidation: false — draw lines without enforcing scheduling

Critical Path

📄 Read: references/critical-path.md

  • enableCriticalPath property
  • Slack calculation (zero/negative slack)
  • Visual highlighting and CPM principles

Baseline

📄 Read: references/baseline.md

  • renderBaseline, baselineColor
  • baselineStartDate, baselineEndDate, baselineDuration
  • Baseline milestones, CSS customization

Resources

📄 Read: references/resources.md

  • resourceFields mapping, resources collection
  • Assigning resources to tasks, resource units
  • Over-allocation, resource templates
  • Custom column template + queryTaskbarInfo for per-resource badge and taskbar colors

Resource View

📄 Read: references/resource-view.md

  • viewType: 'ResourceView'
  • showOverAllocation
  • Resource grouping and display
  • Unassigned tasks grouped automatically at bottom
  • Taskbar drag and drop between resources (allowTaskbarDragAndDrop + RowDD module)

Resource Multi Taskbar

📄 Read: references/multi-taskbar.md

  • enableMultiTaskbar for collapsed resource rows
  • Overlapping task visualization
  • Editing tasks in collapsed state

Work & Task Types

📄 Read: references/work.md

  • taskFields.work mapping, workUnit (Hour/Day/Minute)
  • FixedWork, FixedDuration, FixedUnit task types

Columns

📄 Read: references/columns.md

  • columns array definition, treeColumnIndex
  • Checkbox columns, responsive columns
  • Column spanning, column templates
  • WBS column (enableWBS, enableAutoWbsUpdate)

Column Operations

📄 Read: references/column-operations.md

  • Column resizing (allowResizing, Resize module)
  • Column reordering (allowReordering, Reorder module)
  • Column menu (showColumnMenu)
  • Frozen/pinned columns (frozenColumns)

Timeline

📄 Read: references/timeline.md

  • topTier / bottomTier units and format
  • timelineSettings configuration
  • Custom timeline formatting, timeline tooltip

Zooming

📄 Read: references/timeline.md

  • ZoomIn, ZoomOut, ZoomToFit toolbar items
  • zoomingLevels configuration
  • Programmatic zoom control

Sorting

📄 Read: references/sorting.md

  • allowSorting: true + Sort module injection
  • Click header to sort; Ctrl+click for multi-column sort; Shift+click to remove column from multi-sort
  • Initial sort via sortSettings.columns array (field + direction)
  • Programmatic sort: gantt.sortModule.sortColumn(field, direction, isMultiSort); clear all: gantt.clearSorting()
  • Sort events: actionBegin / actionComplete with args.requestType === 'sorting'
  • Disable sort for specific column: columns.allowSorting: false
  • Custom columns (string/numeric) sortable via sortSettings or programmatically
  • Touch: tap header to sort; popup appears for multi-column sort on touch devices

Filtering

📄 Read: references/filtering.md

  • allowFiltering, Filter module
  • Menu filter and Excel-like filter
  • Column-level filtering, searching

Selection

📄 Read: references/selection.md

  • allowSelection: false disables all selection; Selection module required
  • selectionSettings.mode: 'Row' (default) / 'Cell' / 'Both'
  • selectionSettings.type: 'Single' (default) / 'Multiple' (Ctrl+click for multi-select)
  • selectionSettings.enableToggle: true — click selected item again to deselect
  • enableHover: true — highlights rows, taskbars, header cells, and timeline cells on hover
  • Row selection: selectedRowIndex for initial load; selectRow(index) / selectRows([indexes]) for dynamic selection
  • Prevent row selection: rowSelecting event with args.cancel = true; rowDeselecting to prevent deselection
  • Cell selection: mode: 'Cell'; selectCell({rowIndex, cellIndex}) for dynamic selection; getSelectedRowCellIndexes() returns {cellIndexes, rowIndex}[]
  • Prevent cell selection: cellSelecting event with args.cancel = true; cellSelected fires after
  • Select rows by condition in dataBound via gantt.treeGrid.grid.dataSource + gantt.selectRows(indexes)
  • getSelectedRowIndexes() → number[]; getSelectedRecords() → object[]
  • gantt.clearSelection() — clears all selected rows and cells
  • Touch: tap to select a row; tap popup to enter multi-row select mode, then tap additional rows
  • Cell selection not supported with enableVirtualization

Rows

📄 Read: references/rows.md

  • Customize row styles via rowDataBound event, CSS (.e-altrow,.e-selectionbackground), and treeGrid methods
  • Style parent vs child rows using hasChildRecords in rowDataBound
  • autoFocusTasks — scroll chart to taskbar when a row is clicked
  • rowHeight — uniform row height; per-row height via args.rowHeight in rowDataBound
  • Row hover with custom actions using dataBound + mouseover + Tooltip
  • Add rows programmatically via gantt.addRecord(data, position, index) — Top/Bottom/Above/Below/Child
  • Show/hide rows dynamically via treeGrid.getRowByIndex() + CSS display toggle
  • Row spanning via args.rowSpan in queryCellInfo (combine with colSpan for 2D merge)

Row Drag, Drop, Indent and Outdent

📄 Read: references/rows-drag-drop.md

  • RowDD module, allowRowDragAndDrop — drag rows within the Gantt
  • Drop positions: above (top border), below (bottom border), child (both borders)
  • Drag rows to external component via treeGrid.rowDropSettings.targetID in load event
  • Multi-row drag via selectionSettings.type: 'Multiple'
  • allowTaskbarDragAndDrop — reorder rows by dragging their taskbar
  • Programmatic reorder via gantt.reorderRows(fromIndexes, toIndex, position)
  • Drag lifecycle events: rowDragStartHelper, rowDragStart, rowDrag, rowDrop
  • Prevent child drop position using dropPosition === 'middleSegment' + reorderRows
  • Indent/Outdent toolbar items and gantt.indent() / gantt.outdent() methods
  • Programmatic indent/outdent: selectRow(i) then indent()/outdent()
  • Detect indent/outdent via actionComplete (args.requestType === 'indented'/'outdented')

Managing Tasks (Editing)

📄 Read: references/managing-tasks.md

  • editSettings (allowAdding, allowEditing, allowDeleting)
  • Cell / Dialog / Taskbar editing modes
  • Add, delete, indent/outdent, drag-and-drop rows
  • Server-side CRUD, split/merge tasks, validation

Undo / Redo

📄 Read: references/undo-redo.md

  • UndoRedo module injection, enableUndoRedo property
  • undoRedoActions — configure which actions to track (Edit, Delete, Add, Sorting, Filtering, ZoomIn/Out, ColumnReorder, ColumnResize, Indent, Outdent, RowDragAndDrop, TaskbarDragAndDrop, ColumnState, PreviousTimeSpan, NextTimeSpan)
  • undoRedoStepsCount — limit history depth (default: 10; 0 = disabled)
  • Toolbar Undo/Redo items for UI-based history navigation
  • Programmatic control: undo() and redo() methods
  • Retrieve history: getUndoActions() / getRedoActions()
  • Reset history: clearUndoCollection() / clearRedoCollection()

Toolbar

📄 Read: references/toolbar.md

  • Built-in toolbar items reference (Add, Edit, Delete, Update, Cancel, Search, ExpandAll, CollapseAll, Indent, Outdent, PrevTimeSpan, NextTimeSpan, ZoomIn, ZoomOut, ZoomToFit, Undo, Redo)
  • Override built-in toolbar behavior via toolbarClick with args.cancel = true
  • Show only icons — hide text labels with CSS (.e-tbar-btn-text)
  • Customize toolbar button appearance using CSS class selectors
  • Reposition toolbar to bottom using created event + DOM manipulation
  • Custom toolbar items using ItemModel (text, id, prefixIcon, align)
  • Mix built-in and custom items in the same toolbar array
  • Enable/disable toolbar items dynamically via gantt.toolbarModule.enableItems()
  • Add input components (AutoComplete, DropDownList) to toolbar using type: 'Input' with template

Context Menu

📄 Read: references/context-menu.md

  • enableContextMenu, ContextMenu module
  • Default and custom context menu items

Event Markers

📄 Read: references/event-markers.md

  • DayMarkers module, eventMarkers array
  • day, label, cssClass properties

Holidays

📄 Read: references/holidays.md

  • DayMarkers module, holidays array
  • from, to, label, cssClass properties

Data Markers (Indicators)

📄 Read: references/data-markers.md

  • taskFields.indicators mapping
  • date, iconClass, name, tooltip per indicator

Task Labels

📄 Read: references/labels.md

  • labelSettings: leftLabel, rightLabel, taskLabel
  • Field-based and template-based labels

Taskbar Customization

📄 Read: references/taskbar.md

  • taskbarHeight, rowHeight
  • taskbarTemplate, parentTaskbarTemplate, milestoneTemplate
  • queryTaskbarInfo event for dynamic styling

Scrolling

📄 Read: references/scrolling.md

  • scrollToDate method, scroll settings
  • Horizontal and vertical scroll control

Virtual Scrolling

📄 Read: references/virtual-scroll.md

  • VirtualScroll module injection, enableVirtualization for row virtualization
  • enableTimelineVirtualization — on-demand horizontal timeline rendering (renders 3x viewport width initially)
  • Get filtered record count with virtual scroll: actionComplete + gantt.treeGrid.filterModule.filteredResult
  • Get total dataset count via gantt.flatData.length in created event
  • Limitations: height must be in pixels, no multi-taskbar in Resource View, cell selection not persisted

Splitter

📄 Read: references/splitter.md

  • splitterSettings (position, columnIndex, view)
  • setSplitterPosition method, view modes

State Persistence

📄 Read: references/state-persistence.md

  • enablePersistence — saves Filtering, Sorting, Columns state in localStorage
  • localStorage key format: "gantt" + element ID (e.g., "ganttGantt")
  • Get/set persisted state via window.localStorage.getItem / setItem
  • Prevent specific keys from persisting via addOnPersist override in dataBound
  • Not persisted by default: column templates, formatters, headerText, headerTemplate, value accessors
  • Restore header templates and header text using getPersistData() + Object.assign + gantt.treeGrid.setProperties()

Immutable Mode

📄 Read: references/immutable.md

  • enableImmutableMode for performance
  • When to use immutable mode

Timezone

📄 Read: references/timezone.md

  • timezone property (UTC, IANA zones)
  • Consistent time display across regions

Globalization & Localization

📄 Read: references/global-local.md

  • Localization: L10n.load({'de-DE': {gantt: {...}}}) + locale: 'de-DE' on Gantt instance
  • Full locale key table organized by category: task fields/columns, dialog/tabs, toolbar/actions, context menu/dependency, labels/timeline, predecessor validation messages (taskBeforePredecessor_FS etc.)
  • New keys vs old reference: 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, group
  • Internationalization: loadCldr(cagregorian, numbers) + setCulture() for locale-aware date/number formatting; CLDR data from @syncfusion/ej2-cldr-data
  • RTL: enableRtl: true + matching locale (e.g., 'ar-AE') — reverses text direction and full layout
  • Default locale is 'en-US'

Excel Export

📄 Read: references/excel-export.md

  • ExcelExport module, allowExcelExport, toolbar items: ExcelExport, CsvExport
  • excelExport() / csvExport() methods, export to blob (4th arg isBlob)
  • Custom data source override (dataSource in ExcelExportProperties)
  • fileName, includeHiddenColumn, exportType
  • Show/hide columns on export (toolbarClick + excelExportComplete to restore)
  • Cell formatting (excelQueryCellInfo + args.style.backColor)
  • Theme (header/record font name and color), header/footer rows with hyperlinks and styles
  • Multiple Gantt export: AppendToSheet (same sheet, blankRows) and NewSheet modes

PDF Export

📄 Read: references/pdf-export.md

  • PdfExport module, allowPdfExport, toolbar item
  • fileName, pageOrientation, pageSize, exportType, includeHiddenColumn, showPredecessorLines
  • Export current view data, export/hide columns on export
  • Fit-to-width (isFitToWidth, chartWidth, gridWidth), export to blob
  • Header/footer: Text, Image, Line, PageNumber content types; enableFooter
  • Multiple Gantt export to single PDF, indicators in PDF export
  • Conditional cell formatting (pdfQueryCellInfo + PdfColor)
  • Timeline cell formatting (pdfQueryTimelineCellInfo)
  • Taskbar formatting + split taskbar segment colors (taskSegmentStyles)
  • ganttStyle: full appearance override (columnHeader, cell, taskbar, timeline, label, eventMarker, holiday)
  • Export with column templates (images/hyperlinks), taskbar templates, label templates, header templates
  • pdfColumnHeaderQueryCellInfo for header template export

Loading Animation

📄 Read: references/loading-animation.md

  • loadingIndicator.indicatorType: 'Shimmer' | 'Spinner'
  • Shimmer with virtual scroll

Accessibility

📄 Read: references/accessibility.md

  • WCAG 2.1 Level AA compliance
  • Keyboard navigation (grid, toolbar, context menu shortcuts)
  • ARIA roles and attributes (treegrid, row, gridcell, columnheader, dialog)
  • High contrast theme (highcontrast.css)
  • Screen reader support (NVDA, JAWS, VoiceOver) — taskbarAriaLabel customization
  • Focus management and autoFocusTasks

Programmatic Methods

📄 Read: references/gantt-methods.md

  • Column: autoFitColumns(field?), getGanttColumns(), getGridColumns(), refreshColumns(), reorderColumns(from, to), removeSortColumn(field)
  • Row/Record lookup: getRecordByID(id), getTaskByUniqueID(uid), getRowByID(id), getRowByIndex(index), getTaskInfo(taskId), getCurrentViewData(), getExpandedRecords(records)
  • Expand/Collapse: expandByIndex(index | index[]), collapseByIndex(index)
  • Edit/CRUD: cancelEdit(), deleteRecord(taskDetail), updateRecordByIndex(index, data), updateTaskId(currentId, newId), changeTaskMode(data), convertToMilestone(id)
  • Dependency: removePredecessor(id) — removes all dependencies from a task
  • Split/Merge: splitTask(taskId, splitDate | splitDate[]), mergeTask(taskId, segmentIndexes) — requires allowTaskbarEditing; parent/milestones cannot be split
  • Selection: selectCells(rowCellIndexes) — select cells by {rowIndex, cellIndexes[]} pairs; requires mode: 'Cell'
  • Scroll: scrollToTask(taskId), setScrollTop(px), updateChartScrollOffset(left, top)
  • Data: updateDataSource(dataSource, {projectStartDate, projectEndDate})
  • Critical path: getCriticalTasks() → IGanttData[]; requires enableCriticalPath + CriticalPath module
  • Formatting helpers: getDurationString(value, unit), getWorkString(value, unit), getTaskbarHeight()
  • All methods use the Gantt instance directly: gantt.methodName(args) (TypeScript/JavaScript)

Events

📄 Read: references/events.md

  • actionBegin — fires before any action (add/edit/delete/sort/filter/dependency/zoom); supports args.cancel; argument types vary by operation (ITaskAddedEventArgs, ITimeSpanEventArgs, FilterEventArgs, SortEventArgs, IDependencyEventArgs, ZoomEventArgs)
  • actionComplete — fires after action completes; switch on args.requestType (filtering, sorting, save, delete, AfterZoomIn/Out/ToProject)
  • actionFailure — fires on operation failure; args.error[0] for error details
  • cellEdit — fires when grid cell enters edit mode; args.cancel = true prevents editing; args: cancel, cell, columnName, columnObject, row, rowData, value, validationRules
  • beforeTooltipRender — fires before tooltip renders (taskbar/connector/timeline); override args.content or set args.cancel = true
  • beforeExcelExport / beforePdfExport — fires before export; args.cancel = true aborts; isCsv flag for Excel vs CSV
  • Cell selection events (require selectionSettings.mode: 'Cell' or 'Both'): cellSelecting (cancel to prevent), cellSelected, cellDeselecting, cellDeselected — CellSelectEventArgs (cellIndex, cells, currentCell, data, previousRowCell) and CellDeselectEventArgs (cellIndexes, cells, data)
  • Row selection events: rowSelecting, rowSelected, rowDeselecting, rowDeselected — cancel, data, rowIndex, isCtrlPressed, isShiftPressed
  • Column drag events (require allowReordering: true + Reorder module): columnDragStart, columnDrag, columnDrop — ColumnDragEventArgs (column, target, draggableType)
  • Column menu events (require showColumnMenu: true + ColumnMenu module): columnMenuOpen (ColumnMenuOpenEventArgs: cancel, column, element, items, left, top, parentItem), columnMenuClick (ColumnMenuClickEventArgs: name, column, element, item)
  • contextMenuClick — requires ContextMenu module + contextMenuItems; args: name, element, event, item (id/text), type, rowData
  • Export complete events: excelExportComplete / pdfExportComplete — access blob via args.promise.then((e) => e.blobData)
  • requestType reference table: beforeSave, beforeDelete, taskbarEditing, filtering, sorting, zoom variants, save, delete, validateDependency, updateDependency

平台分布

Codex

36.15%
按下载量换算22

Claude

30.43%
按下载量换算19

Cursor

18.67%
按下载量换算12

Gemini CLI

8.49%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills