Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-aspnetcore-gantt-chart同步融合 aspnetcore 甘特图

Agent Skill

syncfusion-aspnetcore-gantt-chart 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

238

周安装

10

GitHub Stars

公开资料未说明

下载量

83
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

同步融合 ASP.NET Core 甘特图组件,用于项目进度可视化管理。

  • 适用于任务计划、资源分配、工期跟踪等项目管理场景。
  • 通过 GitHub 安装并连接后端数据服务,支持拖拽调整和时间轴缩放。
  • 使用前需确保数据库读写权限正确配置,避免并发冲突。
  • 大规模项目数据时应考虑分块加载提升响应速度。syncfusion-aspnetcore-gantt-chart 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Syncfusion ASP.NET Core Gantt Chart

The Syncfusion EJ2 Gantt Chart for ASP.NET Core is a powerful project management component that visualizes project schedules, task dependencies, resource allocation, and timelines using Tag Helpers.

When to Use This Skill

Use this skill when you need to:

  • Set up and render a Gantt Chart in an ASP.NET Core application
  • Bind local or remote data to the Gantt control
  • Configure task fields, columns, and the chart timeline
  • Enable editing (cell, dialog, taskbar), manage tasks (add/delete/update)
  • Define task dependencies (FS, SS, FF, SF) and predecessors
  • Assign and display resources on tasks
  • Filter, sort, search, or select rows/cells
  • Export to Excel or PDF
  • Customize the timeline, taskbars, labels, holidays, and event markers
  • Configure task scheduling modes (Auto/Manual/Custom)
  • Enable undo/redo, state persistence, virtual scrolling, or critical path
  • Scroll the component, configure row height, or drag-and-drop rows
  • Set timezone or localise the UI for different cultures and RTL languages
  • Handle events (actionBegin, actionComplete, cellEdit) or call public methods programmatically

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • NuGet package installation
  • Tag Helper import & CDN setup
  • Script manager registration
  • First Gantt control (Index.cshtml + Controller)
  • Mapping task fields & defining columns
  • Enabling editing, filtering, sorting

Data Binding

📄 Read: references/data-binding.md

  • Local hierarchical data binding
  • Local flat/self-referential data binding
  • Remote data (URL Adaptor, OData, Web API)
  • Load on demand (lazy loading child records)
  • DynamicObject and ExpandoObject binding

Columns

📄 Read: references/columns.md

  • Defining columns and field mapping
  • Custom column headers & header templates
  • Column templates & value accessors
  • Checkbox column, frozen columns
  • Column reordering, resizing, spanning
  • Responsive columns, WBS column, column menu

Managing Tasks (Editing)

📄 Read: references/managing-tasks.md

  • IsPrimaryKey requirement for CRUD
  • Cell editing, dialog editing, taskbar editing
  • Adding and deleting tasks
  • Indent / outdent tasks
  • Splitting and merging tasks
  • Server-side CRUD persistence
  • Edit validation and error handling

Task Dependencies

📄 Read: references/task-dependency.md

  • SS, SF, FS, FF relationship types
  • Mapping dependency field
  • Predecessor offset values
  • Dependency editing via mouse drag
  • Validation, error handling, parent dependencies

Resources

📄 Read: references/resources.md

  • Resource collection and field mapping
  • Assigning resources to tasks
  • Resource view mode
  • Multi-taskbar display
  • Resource customization

Filtering

📄 Read: references/filtering.md

  • Menu filtering (column-level)
  • Excel-like filtering
  • Toolbar search / searching
  • Filter settings and programmatic filtering

Sorting

📄 Read: references/sorting.md

  • Enabling sorting, multi-column sort
  • Initial sort configuration
  • Programmatic sort / clear sort

Timeline

📄 Read: references/timeline.md

  • Top tier and bottom tier configuration
  • Zooming in and out
  • Custom timeline units and formats
  • Timeline template

Task Scheduling

📄 Read: references/task-scheduling.md

  • Auto, Manual, Custom scheduling modes
  • Duration units (day, hour, minute, week, month)
  • Unscheduled tasks
  • Task constraints (ALAP, ASAP, FNLT, SNLT, MSO, MFO)
  • Baseline display

Selection

📄 Read: references/selection.md

  • Row selection and cell selection
  • Single/multiple selection modes
  • Programmatic selection

Scrolling

📄 Read: references/scrolling.md

  • Configure component height and width to enable scrollbars
  • Responsive sizing with 100% and parent container height requirements
  • Programmatic timeline scroll via scrollToDate()
  • Set vertical scroll with ganttObj.ganttChartModule.scrollObject.setScrollTop()

Rows

📄 Read: references/rows.md

  • Configure global rowHeight and per-row expand state via taskFields.expandState
  • Collapse all parent tasks at load with collapseAllParentTasks
  • Customize row appearance with rowDataBound and queryTaskbarInfo
  • Row spanning via queryCellInfo.rowSpan and clip modes for overflow

Row Drag And Drop

📄 Read: references/row-drag-and-drop.md

  • Enable row reordering with allowRowDragAndDrop and selectionSettings.type = "Multiple" for multi-drag
  • Allow taskbar-based drag with allowTaskbarDragAndDrop and edit mode Auto
  • Lifecycle events: rowDragStartHelper, rowDragStart, rowDrag, rowDrop
  • Programmatic reordering via reorderRows(fromIndexes, toIndex, position)

Timezone

📄 Read: references/timezone.md

  • Set timezone (e.g., UTC, America/New_York) to normalise displayed dates across clients
  • CRUD operations respect configured timezone and convert for server persistence
  • Utility methods: ej.schedule.Timezone().offset(), convert(), and remove() for programmatic conversions

Globalization

📄 Read: references/globalization.md

  • Localize UI text via locale and ej.base.L10n.load() translation objects
  • Internationalization: load CLDR files to format dates and numbers per culture
  • Enable RTL layout with enableRtl="true" for right-to-left languages

Export (Excel & PDF)

📄 Read: references/export.md

  • Excel export with column and data customization
  • PDF export with themes and custom columns
  • Exporting multiple Gantt charts to a single PDF

Toolbar

📄 Read: references/toolbar.md

  • Built-in toolbar items (Add, Edit, Delete, Search, ExpandAll, CollapseAll, ExcelExport, PdfExport, ZoomIn, ZoomOut, ZoomToFit, UndoRedo)
  • Custom toolbar items and click handling
  • Enabling/disabling toolbar items programmatically

Context Menu

📄 Read: references/context-menu.md

  • Enable context menu with enableContextMenu="true"
  • Built-in context menu items for CRUD operations
  • Custom context menu items and click event handling

Taskbar

📄 Read: references/taskbar.md

  • Taskbar height, custom templates, milestone appearance
  • Progress bar customization and connector line configuration
  • Segment taskbars (split tasks) rendering

Labels and Tooltips

📄 Read: references/labels-and-tooltips.md

  • Left/right/inside label templates on taskbars
  • Taskbar tooltip customization via tooltipSettings
  • Connector line and baseline tooltips

Event Markers

📄 Read: references/event-markers.md

  • Add striplines/event markers with <e-gantt-eventmarkers>
  • Custom label and CSS class per marker
  • Dynamic event markers

Critical Path

📄 Read: references/critical-path.md

  • Enable critical path highlighting with enableCriticalPath="true"
  • Critical path rendering and customization
  • Critical slack value configuration

Splitter

📄 Read: references/splitter.md

  • Configure grid/chart pane ratio with splitterSettings
  • Set splitter position by column index, percentage, or pixel
  • Programmatic splitter position update via setSplitterPosition()

Undo and Redo

📄 Read: references/undo-redo.md

  • Enable undo/redo via toolbar items or Ctrl+Z / Ctrl+Y
  • Configure undo-redo history size (undoRedoStepsCount)
  • Supported actions and programmatic undo() / redo() calls

State Persistence

📄 Read: references/state-persistence.md

  • Enable persistence with enablePersistence="true" (saves to localStorage)
  • Persisted properties: filter, sort, column width, scroll position, zoom level
  • Clearing persisted state programmatically

Immutable Mode

📄 Read: references/immutable-mode.md

  • Enable enableImmutableMode="true" to prevent re-render of unchanged rows
  • Performance benefit for large data sets with frequent updates
  • Limitations and usage patterns

Virtual Scroll

📄 Read: references/virtual-scroll.md

  • Enable row virtualization with enableVirtualization="true"
  • Enable timeline virtualization with enableTimelineVirtualization="true"
  • Performance characteristics and known limitations

Loading Animation

📄 Read: references/loading-animation.md

  • Built-in spinner shown during data load
  • Show/hide loading indicator programmatically via showSpinner() / hideSpinner()
  • Custom loading template

Style and Appearance

📄 Read: references/style-and-appearance.md

  • Applying Syncfusion themes (Bootstrap, Material, Fabric, High Contrast)
  • CSS class overrides for taskbars, grid rows, and header
  • queryTaskbarInfo event for per-task styling

Events

📄 Read: references/events.md

  • Wire events via camelCase Tag Helper attributes (actionBegin, actionComplete, actionFailure)
  • actionBegin — cancel-able hook before every CRUD, filter, sort, zoom, and dependency action
  • actionComplete — post-action callback with requestType reference table
  • cellEdit — prevent specific cells or rows from entering edit mode
  • beforeTooltipRender — customise or suppress any tooltip dynamically
  • Row/cell selection events: rowSelecting, rowSelected, rowDeselecting, rowDeselected, cellSelecting, cellSelected
  • Export events: beforeExcelExport, beforePdfExport, excelExportComplete, pdfExportComplete

Public Methods

📄 Read: references/methods.md

  • Data access: getCurrentViewData(), getRecordByID(), getTaskByUniqueID(), getRowByID()
  • Row expand/collapse: expandAll(), collapseAll(), expandByID(), collapseByID(), expandByIndex()
  • Task utilities: changeTaskMode(), convertToMilestone(), updateTaskId(), updateDataSource()
  • Scrolling: scrollToDate(), scrollToTask(), setScrollTop(), updateChartScrollOffset()
  • Search: search(keyword) — programmatic search across displayed columns
  • Lifecycle: refresh(), dataBind(), getRootElement(), addEventListener(), removeEventListener()
  • Module injection reference table (ej.gantt.Filter, Edit, RowDD, CriticalPath, etc.)

Quick Start Example

@* ~/Pages/Index.cshtml *@
<ejs-gantt id="Gantt"
           dataSource="ViewBag.DataSource"
           height="450px">
    <e-gantt-taskfields id="TaskId"
                        name="TaskName"
                        startDate="StartDate"
                        endDate="EndDate"
                        duration="Duration"
                        progress="Progress"
                        child="SubTasks">
    </e-gantt-taskfields>
</ejs-gantt>
// HomeController.cs
public IActionResult Index()
{
    ViewBag.DataSource = GanttData.ProjectNewData();
    return View();
}

Common Patterns

Enable Editing

<ejs-gantt id="Gantt" dataSource="ViewBag.DataSource" height="450px">
    <e-gantt-taskfields id="TaskId" name="TaskName" startDate="StartDate"
                        endDate="EndDate" duration="Duration" progress="Progress"
                        child="SubTasks">
    </e-gantt-taskfields>
    <e-gantt-editsettings allowEditing="true" allowAdding="true"
                          allowDeleting="true" allowTaskbarEditing="true"
                          mode="Auto">
    </e-gantt-editsettings>
    <e-gantt-columns>
        <e-gantt-column field="TaskId" isPrimaryKey="true"></e-gantt-column>
        <e-gantt-column field="TaskName"></e-gantt-column>
    </e-gantt-columns>
</ejs-gantt>

Enable Filtering and Sorting

<ejs-gantt id="Gantt" dataSource="ViewBag.DataSource"
           allowFiltering="true" allowSorting="true" height="450px">
    <e-gantt-taskfields id="TaskId" name="TaskName" startDate="StartDate"
                        endDate="EndDate" duration="Duration" progress="Progress"
                        child="SubTasks">
    </e-gantt-taskfields>
</ejs-gantt>

Toolbar with Export

<ejs-gantt id="Gantt" dataSource="ViewBag.DataSource"
           toolbar="@(new List<string>() { "Add","Edit","Delete","Cancel","Update","ExpandAll","CollapseAll","ExcelExport","PdfExport" })"
           allowExcelExport="true" allowPdfExport="true" height="450px">
    <e-gantt-taskfields id="TaskId" name="TaskName" startDate="StartDate"
                        endDate="EndDate" duration="Duration" child="SubTasks">
    </e-gantt-taskfields>
</ejs-gantt>

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.18%
按下载量换算32

Claude

31.65%
按下载量换算26

Cursor

18.47%
按下载量换算15

Gemini CLI

9.54%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills