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.
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.
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:
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.