
syncfusion-aspnetcore-gantt-chart
Implement Syncfusion ASP.NET Core Gantt Chart component (EJ2) for project management and task scheduling. Use this when working with Gantt charts, project timelines, task dependencies, or resource allocation in ASP.NET Core applications (Tag Helper/Razor Pages/MVC). This skill covers data binding, task management, editing, filtering, export, and timeline customization.
- Installs
- 108
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/syncfusion/aspnetcore-ui-components-skills --skill syncfusion-aspnetcore-gantt-chart- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads syncfusion-aspnetcore-gantt-chart automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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
- Timeline view modes (Hour, Day, Week, Month, Year)
- Custom timeline units and formats
- Timeline template
- Infinite timeline scrolling
- Zooming in and out
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
📄 Read: references/baseline.md
- Baseline feature overview and use cases
- Mapping baseline date fields (baselineStartDate, baselineEndDate, baselineDuration)
- Enabling baseline display with renderBaseline and customizing baselineColor
- Rendering baseline milestones with explicit zero duration
- CSS styling of baseline bars
- Baseline templates and dynamic customization
- Multiple baseline rendering for comparing multiple planning phases
Selection
📄 Read: references/selection.md
- Row selection and cell selection
- Single/multiple selection modes
- Programmatic selection
Scrolling
📄 Read: references/scrolling.md
- Configure component
heightandwidthto 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
rowHeightand per-row expand state viataskFields.expandState - Collapse all parent tasks at load with
collapseAllParentTasks - Customize row appearance with
rowDataBoundandqueryTaskbarInfo - Row spanning via
queryCellInfo.rowSpanand clip modes for overflow
Row Drag And Drop
📄 Read: references/row-drag-and-drop.md
- Enable row reordering with
allowRowDragAndDropandselectionSettings.type = "Multiple"for multi-drag - Allow taskbar-based drag with
allowTaskbarDragAndDropand edit modeAuto - 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(), andremove()for programmatic conversions
Globalization
📄 Read: references/globalization.md
- Localize UI text via
localeandej.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 templates using
text/x-jsrender(taskbarTemplate,parentTaskbarTemplate,milestoneTemplate) - Control taskbar size with
taskbarHeight(must be less thanrowHeight) - Dynamic taskbar/progress styling with
queryTaskbarInfo(e.g.,taskbarBgColor,progressBarBgColor,isCritical) - Change the drag gripper icon via CSS overrides
- Customize dependency connector lines with
connectorLineWidthandconnectorLineBackground - Multi-taskbar display in project view using
enableMultiTaskbar="true"
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 tolocalStorage) - 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
queryTaskbarInfoevent 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 actionactionComplete— post-action callback withrequestTypereference tablecellEdit— prevent specific cells or rows from entering edit modebeforeTooltipRender— 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="Model.GanttDataSourceCollection" height="450px">
<e-gantt-taskfields id="TaskId"
name="TaskName"
startDate="StartDate"
endDate="EndDate"
duration="Duration"
progress="Progress"
parentID="ParentID">
</e-gantt-taskfields>
</ejs-gantt>
// ~/Pages/Index.cshtml.cs
public class IndexModel : PageModel
{
public List<GanttDataSource> GanttDataSourceCollection { get; set; }
public void OnGet()
{
GanttDataSourceCollection = GetTaskCollection();
}
private List<GanttDataSource> GetTaskCollection()
{
return new List<GanttDataSource>()
{
new GanttDataSource() { TaskId = 1, TaskName = "Project initiation", StartDate = new DateTime(2019, 04, 02), EndDate = new DateTime(2019, 04, 21) },
new GanttDataSource() { TaskId = 2, TaskName = "Identify site location", StartDate = new DateTime(2019, 04, 02), Duration = 4, Progress = 50, ParentID = 1 },
new GanttDataSource() { TaskId = 3, TaskName = "Perform soil test", StartDate = new DateTime(2019, 04, 02), Duration = 4, Progress = 50, ParentID = 1 },
new GanttDataSource() { TaskId = 4, TaskName = "Soil test approval", StartDate = new DateTime(2019, 04, 02), Duration = 4, Progress = 50, ParentID = 1 },
new GanttDataSource() { TaskId = 5, TaskName = "Project estimation", StartDate = new DateTime(2019, 04, 02), EndDate = new DateTime(2019, 04, 21) },
new GanttDataSource() { TaskId = 6, TaskName = "Develop floor plan for estimation", StartDate = new DateTime(2019, 04, 04), Duration = 3, Progress = 50, ParentID = 5 },
new GanttDataSource() { TaskId = 7, TaskName = "List materials", StartDate = new DateTime(2019, 04, 04), Duration = 3, Progress = 50, ParentID = 5 }
};
}
}
public class GanttDataSource
{
public int TaskId { get; set; }
public string TaskName { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public int? Duration { get; set; }
public int Progress { get; set; }
public int? ParentID { get; set; }
Common Patterns
Enable Editing
<ejs-gantt id="Gantt" dataSource="Model.GanttDataSourceCollection" height="450px">
<e-gantt-taskfields id="TaskId" name="TaskName" startDate="StartDate"
endDate="EndDate" duration="Duration" progress="Progress"
parentID="ParentID">
</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="Model.GanttDataSourceCollection"
allowFiltering="true" allowSorting="true" height="450px">
<e-gantt-taskfields id="TaskId" name="TaskName" startDate="StartDate"
endDate="EndDate" duration="Duration" progress="Progress"
parentID="ParentID">
</e-gantt-taskfields>
</ejs-gantt>
Toolbar with Export
<ejs-gantt id="Gantt" dataSource="Model.GanttDataSourceCollection"
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" parentID="ParentID">
</e-gantt-taskfields>
</ejs-gantt>
FAQ
What does the syncfusion-aspnetcore-gantt-chart skill do?
Implement Syncfusion ASP.NET Core Gantt Chart component (EJ2) for project management and task scheduling. Use this when working with Gantt charts, project timelines, task dependencies, or resource allocation in ASP.NET Core applications (Tag Helper/Razor Pages/MVC). This skill covers data binding, task management, editing, filtering, export, and timeline customization.
How do I install syncfusion-aspnetcore-gantt-chart?
Run npx skills add https://github.com/syncfusion/aspnetcore-ui-components-skills --skill syncfusion-aspnetcore-gantt-chart in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-aspnetcore-gantt-chart/ (personal) or .claude/skills/syncfusion-aspnetcore-gantt-chart/ (project).
Which AI agents can use syncfusion-aspnetcore-gantt-chart?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is syncfusion-aspnetcore-gantt-chart safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains syncfusion-aspnetcore-gantt-chart?
It is published by syncfusion in syncfusion/aspnetcore-ui-components-skills. It has 108 recorded installs.
More from syncfusion/aspnetcore-ui-components-skills
syncfusion-aspnetcore-charts
syncfusion/aspnetcore-ui-components-skills
Implements Syncfusion ASP.NET Core Chart (SfChart) for data visualization. Use this when building charts, visualizing time-series or categorical data, or creating dashboards. Covers series configuration (line, bar, pie), axes, tooltips, legends, and customization for ASP.NET Core applications.
syncfusion-aspnetcore-common
syncfusion/aspnetcore-ui-components-skills
CONFIGURATION GUIDE — Assist with Syncfusion ASP.NET Core EJ2 components setup, localization, and version compatibility. Use when: installing Syncfusion packages, configuring globalization/localization, selecting compatible versions.
syncfusion-aspnetcore-license
syncfusion/aspnetcore-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-aspnetcore-grid
syncfusion/aspnetcore-ui-components-skills
Implements Syncfusion ASP.NET Core Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling or infinite scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.
syncfusion-aspnetcore-security
syncfusion/aspnetcore-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-aspnetcore-kanban
syncfusion/aspnetcore-ui-components-skills
Open the skill to read its SKILL.md instructions.
Popular productivity & automation skills
agent-browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
lark-doc
open.feishu.cn
飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。
lark-base
open.feishu.cn
飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。
lark-drive
open.feishu.cn
飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。
lark-shared
open.feishu.cn
Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.
lark-im
open.feishu.cn
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。