Angular Gantt
Angular Gantt is the official Angular wrapper for DHTMLX Gantt. It gives you an Angular component API for the chart while preserving access to the full Gantt engine.
If you use an AI coding assistant, the DHTMLX Angular Gantt agent skill can help it follow correct wrapper integration patterns - matching CSS imports, providing an explicit height chain, choosing a data ownership model, normalizing dates around data.save / data.batchSave, and mapping the app theme through Gantt CSS variables. For real-time API reference, connect the DHTMLX MCP server.
What You Get With The Wrapper
- Declarative inputs for
tasks,links,config,templates,plugins,theme, andlocale. - Incremental synchronization for task/link updates with fallback re-parse for larger changes.
- Data transport callbacks via
data.load,data.save, anddata.batchSave. - Event registration through the
eventsmap and lifecycle access through(ready). - Angular component rendering inside Gantt templates via
templateComponent(...). - Support for advanced datasets and features (
resources,resourceAssignments,baselines,calendars,markers,groupTasks,resourceFilter).
import { Component } from '@angular/core';
import { DhxGanttComponent } from '@dhtmlx/trial-angular-gantt';
@Component({
selector: 'app-root',
standalone: true,
imports: [DhxGanttComponent],
template: `
<div style={{height: '520px'}}>
<dhx-gantt [tasks]="tasks" [links]="links"></dhx-gantt>
</div>
`,
})
export class AppComponent {
tasks = [{ id: 1, text: 'Task', start_date: '2026-02-02 00:00', duration: 3, parent: 0 }];
links = [];
}
If you want the full capability breakdown first, start with Angular Gantt Overview.
Recommended Learning Path
Follow this order if you are new to the wrapper:
- Installation: choose the correct package channel and imports.
- Quick Start: render your first chart in a standalone Angular app.
- Configuration Reference: learn every input, output, and callback contract.
- Data Binding and State Management Basics: choose your data ownership model.
- RxJS State Management Tutorial: implement a store-driven pattern with
BehaviorSubjectandAsyncPipe.
Examples
Browse the public Angular Gantt examples for runnable demos of the wrapper:
Wrapper vs Low-Level JS Integration
Choose the integration path based on how much Angular integration you need:
- Choose the official wrapper (
@dhtmlx/trial-angular-ganttor@dhx/angular-gantt) when you want Angular inputs/outputs, lifecycle integration, and wrapper-managed synchronization. - Choose low-level JS integration only when you need fully manual control over the Gantt lifecycle and direct DOM integration.
Use dhtmlxGantt with Angular (Low-Level Integration) for the low-level path.
Data And State Management Entry Point
Start state architecture from the Angular state section:
Examples and evaluation resources
Browse the public Angular Gantt examples for runnable demos of the wrapper:
If you're evaluating Angular Gantt, the evaluation page provides access to technical support during the evaluation period. See Installation.