<

Enterprise-Grade
JavaScript Gantt Chart – DHTMLX Gantt

DHTMLX Gantt is a vendor-maintained JS Gantt chart component optimized for data-heavy
enterprise scenarios and ready for AI-powered development.
NCI
Deutsche Bank
Siemens
Facebook
Apple
Airbus
Embraer
Hilton
Tele2
Aprika
FedEx
GanttPro
Oracle
Amazon
Accenture
IBM
Cisco
Intel
Nasa
ABB
Capgemini
BBC News

Create More of Your Product, Less of Your Gantt

With DHTMLX, you leave ownership of complex Gantt functionality to a vendor that accommodates your product's growth and keeps investing in it.
sliders icon
60+ pre-built features
out of the box, and counting
code icon
Monthly maintenance releases and bug fixes
gear icon
Ongoing rendering, data processing, and scheduling optimization
support icon
Professional technical support for integration
and implementation

Deliver Complex Workflows with DHTMLX JS Gantt Chart

The key DHTMLX Gantt features available out of the box.

Enterprise-level scheduling

DHTMLX Gantt highlights critical paths and automatically recalculates all interconnected tasks and schedules based on dependencies, constraints, and working calendars, with support for forward and backward planning.
Enterprise scheduling engine

Resource management

End users can assign resources to tasks, track their workload, and identify overbooking as project plans change. Resource load diagrams and histograms help visualize utilization and adjust assignments.
Resource management

Project control

Implement close project control where users can simultaneously see what determines the project end date and compare the current plan against the initial one to identify and respond to risks.
Project control

Data exchange

Data stays portable across the app and PM tools with import and export support for MS Project, Primavera P6, Excel, PDF, PNG, and other common formats.
Data exchange

UI customization

DHTMLX Gantt's interface is highly adaptable to application workflows, from task forms and inline editing to layouts, grid controls, labels, task styling, markers and indicators.
UI customization

Add Resource Leveling to Your Gantt Charts

DHTMLX Planning Engine
Extend DHTMLX Gantt
with resource leveling powered
by DHTMLX Planning Engine

The engine detects overloaded resources and adjusts task schedules around availability, dependencies, and constraints to build achievable project plans.

Headless, DHTMLX Gantt-compatible
Incremental recalculations
Browser & server execution

Why Enterprises Build with DHTMLX Gantt

Covers Data-Heavy Workloads

Handles up to 100k tasks, with smart rendering and dynamic loading for data-heavy projects.

Customizable for Your Requirements

Allows for tailoring nearly every aspect, from appearance to behavior, featuring rich API, templates, custom HTML content, and CSS variables.

Architecture Fit

Fits into all frontend frameworks and modern browsers, with its Node.js server module bringing Gantt calculations and scheduling logic to the backend.

Meets Accessibility Standards

Complies with WCAG 2.2 AA, Section 508 of the U.S. Rehabilitation Act, and EN 301 549, with WAI-ARIA attributes, keyboard navigation, and high-contrast themes.

Ready for Global Use

Supports 50+ predefined locales with dynamic locale switching, custom locales and RTL support

Test DHTMLX Gantt with Your Own Data and Workflows

Explore how Gantt performs, integrates, and adapts to your real project requirements.
Test DHTMLX Gantt with Your Own Data and Workflows

Designed for Modern AI Workflows

Leverage the DHTMLX Gantt foundation in agentic workflows to embed complex scheduling and project-planning logic at AI-driven velocity.

You can start with the Community edition via npm in any AI coding assistant, such as Claude Code or Cursor, with additional tooling to integrate, customize, and consistently extend Gantt across Community and PRO.

npm
npm install dhtmlx-gantt
Prompt
Run npm install dhtmlx-gantt and create a project timeline with at least five tasks, dependencies between them, and a progress indicator on each bar. Enable drag-and-drop to reschedule tasks.

DHTMLX JS Gantt Throughout Your System Lifecycle

01
Integrate & Develop
Get all documentation, examples, and support to integrate and customize Gantt.
02
Deploy Predictably
Pay no additional fees for deployment or the number of end users in SaaS apps.
03
Stay Updated
Get Gantt updates and new releases during your active support period.
04
Keep Using
Use DHTMLX Gantt independently, even after your support period ends.

Get More When You Need It

Renew access to Gantt updates or add other DHTMLX products as your system grows.

Gantt Chart

Framework Integrations with Pre-built Wrappers

Leverage official, ready-to-use wrappers to integrate DHTMLX Gantt into your React, Angular, or Vue.js apps faster,
with less custom integration code to write and maintain.
React logo React logo
Angular logo Angular logo
Vue logo Vue logo

JavaScript Gantt Chart for React Applications

DHTMLX Gantt ensures a smooth React development experience with familiar props and state management. Modify Gantt with React components and use the Gantt API when you need deeper control over its functionality.
JSX/TSX React components for templates, editors,
and custom UI
Redux, Zustand, MobX, and other state management options
TypeScript types for tasks, links, and other data
SSR-ready for Next.js and Remix
Full access to the DHTMLX Gantt API
JavaScript Gantt Chart for React Applications

JavaScript Gantt Chart for Angular Applications

The official Angular wrapper lets you work with DHTMLX Gantt using Angular data binding and components. You get Angular-native integration without giving up the underlying Gantt capabilities.
Angular components inside Gantt templates for custom UI
Declarative configuration for tasks, links, templates, plugins, themes,
and locales
Built-in data synchronization and data transport callbacks
Typed Angular inputs and outputs
Full access to the DHTMLX Gantt API
JavaScript Gantt Chart for Angular Applications

JavaScript Gantt Chart for Vue.js Applications

DHTMLX Gantt provides the official integration for Vue-based apps, making it easier to develop Gantt functionality with reactive data and Vue props and events. Use composables to configure and control chart behavior, and Vue components to customize its interface.
Vue components for custom lightboxes and inline editors
Reactive data synchronization for tasks, links, resources, and baselines
Vue state and Pinia integration
TypeScript helpers and composables
Full access to the DHTMLX Gantt API
JavaScript Gantt Chart for Vue.js Applications

Discover DHTMLX JS Gantt Examples
in Demanding Scenarios

Big dataset
Gantt + Scheduler
PERT chart
View demo on desktop

Open to AI Extensions

Activate AI-assisted experiences in your Gantt application. DHTMLX Gantt's flexible API and configuration options streamline integration with external AI models and services.

See some ways to put it into practice with plain-language commands:

Validated in Real World

DHTMLX Gantt is commonly used in SaaS project management apps, ERP and CRM planning modules, construction scheduling systems, manufacturing and production planning, resource planning, and portfolio management solutions.

DHTMLX Gantt Community vs PRO

Community Edition PRO Edition
License MIT EULA
Support Community support Professional vendor support
Performance optimization Smart rendering Smart rendering + dynamic loading
Visualization
Tasks
Milestones
Projects
Dependencies
Grid & timeline
Task editing
Drag & drop
Inline editing
Multi-task selection & drag
Undo/redo
Task organization
Task hierarchy
Grouping
Split tasks
Unscheduled
WBS codes
Scheduling
Forward & backward planning
Auto-scheduling
Task constraints
Resource management
Resource assignments
Workload
Resource calendars
Project control
Critical path
Baselines
Deadlines
Localization
Customization
Community Edition PRO Edition
License
License MIT EULA
Support
Support Community support Professional vendor support
Performance optimization
Performance optimization Smart rendering Smart rendering + dynamic loading
Visualization
Tasks
Tasks
Milestones
Milestones
Projects
Projects
Dependencies
Dependencies
Grid & timeline
Grid & timeline
Task editing
Drag & drop
Drag & drop
Inline editing
Inline editing
Multi-task selection & drag
Multi-task selection & drag
Undo/redo
Undo/redo
Task organization
Task hierarchy
Task hierarchy
Grouping
Grouping
Split tasks
Split tasks
Unscheduled
Unscheduled
WBS codes
WBS codes
Scheduling
Forward & backward planning
Forward & backward planning
Auto-scheduling
Auto-scheduling
Task constraints
Task constraints
Resource management
Resource assignments
Resource assignments
Workload
Workload
Resource calendars
Resource calendars
Project control
Critical path
Critical path
Baselines
Baselines
Deadlines
Deadlines
Localization
Localization
Customization
Customization

Open-Source Gantt Chart – DHTMLX Gantt Community Edition

The open-source version of DHTMLX Gantt (Community Edition) is distributed under the MIT license. It can be used free of charge in open-source projects
that do not require PRO features. This edition does not include official technical support; however, assistance is available through the community forum.

Testimonials

Licensing & Pricing for DHTMLX Gantt PRO

DHTMLX Gantt widget
Add Diagram to use
Gantt with PERT
charts and save 20%
Individual
Total: $799
Commercial
Total: $1599
Enterprise
Total: $2999
Ultimate
Total: $5999
Gantt your choice
$799 $1599 $2999 $5999
Gantt + Diagram
(PERT charts
included)
$1038 $2158 $4718 $9438
Diagram (PERT charts included)
$599 $1299 $2899 $5799
License Terms Read License Agreement Read License Agreement Read License Agreement Read License Agreement
Developers 1 5 20
Projects 1 1 5
Use in SaaS (unlimited end-users)
Upon request for a fee
Use in Salesforce
Source code
Perpetual distribution rights
Support Plan
Standard Premium Premium Ultimate
Time Period 1 year 1 year 1 year 1 year
Updates Major, minor, and maintenance updates Major, minor, and maintenance updates Major, minor, and maintenance updates
Major, minor, and maintenance updates
Priority queue for bug fixing
Support requests 10 30 50
Response time 72h 48h 48h 24h
Personal Account Manager
Functionality
PRO PRO PRO PRO
20+ PRO features
Online export to PDF/PNG without watermark Free for 1 year Free for 1 year Free for 1 year Free for 3 years
Free local PDF/PNG export module
Free local module for MS Project export/import
Free Node.js Gantt server module
Official React, Angular, and Vue.js wrappers
DHTMLX Gantt widget
Add Diagram to use
Gantt with PERT
charts and save 20%
Individual
$799
Gantt your choice
$799
Gantt + Diagram
(PERT charts
included)
$1038
Diagram (PERT charts included)
$599
License Terms Read License Agreement
Developers 1
Projects 1
Use in SaaS (unlimited end-users)
Use in Salesforce
Source code
Perpetual distribution rights
Support Plan
Standard
Time Period 1 year
Updates Major, minor, and maintenance updates
Support requests 10
Response time 72h
Personal Account Manager
Functionality
PRO
20+ PRO features
Online export to PDF/PNG without watermark Free for 1 year
Free local PDF/PNG export module
Free local module for MS Project export/import
Free Node.js Gantt server module
Official React, Angular, and Vue.js wrappers
Commercial
$1599
Gantt your choice
$1599
Gantt + Diagram
(PERT charts
included)
$2158
Diagram (PERT charts included)
$1299
License Terms Read License Agreement
Developers 5
Projects 1
Use in SaaS (unlimited end-users) Upon request for a fee
Use in Salesforce
Source code
Perpetual distribution rights
Support Plan
Premium
Time Period 1 year
Updates Major, minor, and maintenance updates
Support requests 30
Response time 48h
Personal Account Manager
Functionality
PRO
20+ PRO features
Online export to PDF/PNG without watermark Free for 1 year
Free local PDF/PNG export module
Free local module for MS Project export/import
Free Node.js Gantt server module
Official React, Angular, and Vue.js wrappers
Enterprise
$2999
Gantt your choice
$2999
Gantt + Diagram
(PERT charts
included)
$4718
Diagram (PERT charts included)
$2899
License Terms Read License Agreement
Developers 20
Projects 5
Use in SaaS (unlimited end-users)
Use in Salesforce
Source code
Perpetual distribution rights
Support Plan
Premium
Time Period 1 year
Updates Major, minor, and maintenance updates
Support requests 50
Response time 48h
Personal Account Manager
Functionality
PRO
20+ PRO features
Online export to PDF/PNG without watermark Free for 1 year
Free local PDF/PNG export module
Free local module for MS Project export/import
Free Node.js Gantt server module
Official React, Angular, and Vue.js wrappers
Ultimate
$5999
Gantt your choice
$5999
Gantt + Diagram
(PERT charts
included)
$9438
Diagram (PERT charts included)
$5799
License Terms Read License Agreement
Developers
Projects
Use in SaaS (unlimited end-users)
Use in Salesforce
Source code
Perpetual distribution rights
Support Plan
Ultimate
Time Period 1 year
Updates
Major, minor, and maintenance updates
Priority queue for bug fixing
Support requests
Response time 24h
Personal Account Manager
Functionality
PRO
20+ PRO features
Online export to PDF/PNG without watermark Free for 3 years
Free local PDF/PNG export module
Free local module for MS Project export/import
Free Node.js Gantt server module
Official React, Angular, and Vue.js wrappers

Unlock up to 65% Savings with DHTMLX Bundles

Free Trial

Explore enterprise-grade features of DHTMLX Gantt with a 30-day trial.

DHTMLX Gantt chart

Get a Complete Project Insight with DHTMLX PERT Chart

Combine DHTMLX Gantt with the PERT charts from DHTMLX Diagram for a comprehensive project view. Visualizes task timelines and dependencies.
PERT Chart Banner

Up to 70% Savings with DHTMLX for Startups

3 developers, 1 year
Personalized technical support
Usage in SaaS applications

Explore PM Widgets

Feature-rich APIs
Smooth data synchronization

Latest from DHTMLX Gantt

Building SSR-Friendly Project Planning Apps with Remix and DHTMLX React Gantt Building SSR-Friendly Project Planning Apps with Remix and DHTMLX React Gantt
Building a Full-Stack React App in Lovable AI with DHTMLX Gantt Building a Full-Stack React App in Lovable AI with DHTMLX Gantt
Agent Skill for Enhancing AI-Assisted Development with DHTMLX Gantt and Scheduler Agent Skill for Enhancing AI-Assisted Development with DHTMLX Gantt and Scheduler
What's new
Discover the recently launched DHTMLX Gantt versions, fresh developer guides, and tutorials with code snippets and practical tips from our tech team.
DHTMLX Gantt

DHTMLX Gantt:
Frequently Asked Questions

General

PRO vs Community

Features

Performance

Integrations

Customization

Export and Import

Alternatives

General
What is a Gantt chart in JavaScript?
A Gantt chart JavaScript component is a timeline-based visualization tool used to display tasks, their start and end dates, and the relationship between them. These components help build custom project management and scheduling interfaces with dynamic data and user interaction.
What is DHTMLX Gantt?
DHTMLX Gantt is a JavaScript Gantt chart component for building interactive project timelines and planning tools in web applications. It allows developers to display and edit tasks, dependencies, and project timelines using a configurable grid and time scale. The component includes features for project planning, such as resource management, critical path allocation, and auto-scheduling.
What is DHTMLX Gantt used for?
DHTMLX Gantt is used to build web-based project planning and scheduling tools that visualize tasks on an interactive timeline. As a project management JavaScript library, it helps developers display tasks, dependencies, milestones, and project progress in a structured Gantt chart interface. It also allows users to edit tasks, manage timelines, and organize project workflows directly in the browser. Developers commonly integrate it into web applications to create custom project management and resource planning solutions.
How to install DHTMLX Gantt?
You can install JavaScript Gantt chart functionality with DHTMLX in several ways. The component can be installed via npm (npm i dhtmlx-gantt), downloaded as a package from the DHTMLX website, or included from a CDN in an HTML page. After installation, you should add the Gantt CSS and JavaScript files to your project and initialize the chart in a container element.
Is it suitable for enterprise systems?
DHTMLX Gantt is designed to be used in complex business applications, including enterprise-level solutions. It provides a configurable enterprise Gantt chart component that supports advanced scheduling, task dependencies, resource management, and integration with backend systems. The library can be embedded into large web applications and extended with custom logic to meet specific business requirements.
Can I continue using DHTMLX Gantt after my subscription expires?
DHTMLX Gantt licenses are perpetual, so you can continue using the licensed version after your support period expires. The support plan provides access to product updates and technical support for a limited period, so you can renew it when needed.
PRO vs Community
Is DHTMLX Gantt free?
DHTMLX Gantt is available in both free and paid editions. The free Community Edition is open-source under the MIT license and available on GitHub. It can be used in commercial, SaaS, and open-source projects if the license terms are followed. A 30-day free trial is available for the paid PRO Edition.
What license does DHTMLX Gantt use?
The Community Edition is licensed under MIT, which allows use, modification, and distribution in commercial and open-source projects with attribution. The PRO Edition is distributed under commercial DHTMLX licenses.
What is the difference between the free and paid editions of DHTMLX Gantt?
The Community Edition includes core Gantt chart functionality. The PRO Edition adds advanced project management features such as auto scheduling, critical path calculation, resource management, baselines, deadlines, task constraints, and advanced export/import options. It also includes official technical support and priority handling of bug fixes and technical requests, depending on the plan.
Who should choose the PRO Edition?
The PRO Edition is the right fit for teams with advanced project planning requirements, offering PRO-only features such as auto-scheduling, critical path calculations, resource management, task constraints, working calendars, and baselines. It also includes official technical support and access to product updates, making it a sound choice for production-grade and enterprise applications.
Features
Does DHTMLX Gantt support task dependencies?
Yes, DHTMLX fully supports Gantt chart task dependencies, allowing you to define relationships between tasks such as finish-to-start, start-to-start, finish-to-finish, and start-to-finish. These dependencies automatically adjust task schedules when a related task is moved or updated, helping maintain accurate project timelines.
Can I calculate the critical path?
Yes, DHTMLX Gantt supports calculating the critical path Gantt chart for your projects, identifying the sequence of dependent tasks that directly affect the project’s finish date. This helps managers spot bottlenecks and optimize schedules. The critical path can be highlighted visually in the chart, making it easier to track crucial tasks and adjust timelines effectively.
Does it support milestones?
Yes, DHTMLX Gantt allows you to add Gantt chart milestones to highlight important events, deadlines, or project achievements. Milestones are displayed as distinct points on the timeline, making it easy to track key goals and project progress. They can be fully customized and integrated with tasks and dependencies for comprehensive project planning.
Can I manage resources?
Yes, DHTMLX supports resource management Gantt functionality, allowing you to assign team members or assets to tasks and track their workloads. This helps prevent overbooking, balance task allocation, and visualize resource utilization directly on the Gantt chart.
Does DHTMLX Gantt support baselines?
DHTMLX Gantt's baseline Gantt chart lets you overlay planned schedules on actual progress for clear comparisons. This extra timeline layer helps managers spot deviations, assess delays, and tweak plans effectively.
Can I edit tasks inline?
DHTMLX provides an editable Gantt chart JavaScript interface that allows users to modify tasks directly within the chart. You can update task names, start and end dates, duration, and progress using inline editing, drag-and-drop, or quick forms.
Does it support drag and drop?
Yes, DHTMLX Gantt includes a drag-and-drop Gantt chart feature that lets users move tasks, adjust start and end dates, and change dependencies directly on the timeline. This interactive functionality simplifies project scheduling by allowing real-time updates without manual input.
Can I track project progress?
Yes, DHTMLX Gantt enables robust project progress tracking in JavaScript apps via task progress bars, baseline overlays, and dynamic progress lines from the current date. Developers can configure progress values on tasks for visual fill percentages, customize colors via CSS, and use API methods for real-time updates.
Does it support recurring tasks?
DHTMLX Gantt does not natively support recurring tasks Gantt functionality. You can implement custom recurring tasks using the Gantt API and JavaScript, such as generating repeated task instances dynamically based on rules for daily, weekly, monthly, or annual patterns.
Is DHTMLX Gantt accessible and keyboard-friendly?
Yes, DHTMLX Gantt provides accessibility features including WAI-ARIA attributes, keyboard navigation, and high-contrast themes. Users can navigate task rows and cells, edit tasks, and perform common actions using keyboard shortcuts.
Performance
Can DHTMLX Gantt handle large projects?
DHTMLX Gantt is designed to work efficiently with projects that contain up to 100,000 tasks and links. The library includes such performance optimization features as smart rendering, which allows a Gantt chart with a large dataset to be rendered and managed smoothly in the browser. These capabilities help maintain responsive scrolling, task updates, and timeline interactions even when working with complex project structures.
How many tasks can DHTMLX Gantt render?
DHTMLX Gantt has been tested with datasets of up to 100,000 tasks while maintaining smooth performance in modern browsers. The library includes optimization techniques designed for a high-performance Gantt chart, such as smart rendering and efficient data processing. The exact number may vary depending on the browser, hardware, and configuration of the application.
Does it support virtual scrolling?
A virtual scrolling Gantt mechanism is available in DHTMLX Gantt through its smart rendering. Instead of rendering thousands of rows at once, the library displays only the tasks currently visible in the viewport.
Can it handle real-time updates?
DHTMLX Gantt can handle dynamic data updates, which makes it suitable for real-time project tracking scenarios. The chart can be updated programmatically when task data changes, allowing the interface to reflect the latest project information without reloading the page. Developers can synchronize data with backend services or APIs to keep schedules and task progress up to date.
How to optimize Gantt performance?
To optimize Gantt chart performance, DHTMLX Gantt provides several built-in techniques recommended in the official documentation. These include enabling smart rendering to load only visible tasks, reducing the number of DOM elements, and limiting the amount of data displayed at once. Developers can also improve performance by disabling unnecessary features and using efficient data loading methods such as dynamic or server-side loading.
Integrations
Can I use DHTMLX Gantt for React?
You can use DHTMLX Gantt in React applications to create an interactive React Gantt chart. The official React wrapper integrates Gantt with React props and state, while tasks and links can be passed from React state or API responses. This makes it possible to integrate project scheduling into React-based interfaces.
Does it support Angular?
DHTMLX Gantt can be integrated into Angular applications to create a full-featured Angular Gantt chart. The library can be installed via npm and added to an Angular project using the official Angular wrapper. Task and link data can then be passed to the chart through Angular inputs, allowing Angular apps to display and manage project schedules.
Can I integrate DHTMLX Gantt with Vue.js?
DHTMLX Gantt can be integrated into Vue applications to build a Vue Gantt chart. It can be installed via npm and added to a Vue project using the official Vue wrapper. Task and link data can then be passed to the chart through Vue props.
Does it support Svelte?
Yes, you can use DHTMLX Gantt in Svelte projects to create an interactive Svelte Gantt chart. The official guide shows how to install the library, create a Gantt.svelte component, and initialize the chart with a container element. Project data can then be passed to the component and rendered.
Does DHTMLX Gantt support TypeScript?
Yes, DHTMLX Gantt provides full support for TypeScript Gantt chart development. The library includes TypeScript type definitions, allowing developers to benefit from type checking and better code completion in modern editors.
Can I integrate it with ERP or CRM systems?
DHTMLX Gantt can be integrated with enterprise software, including ERP or CRM systems, to create a Gantt chart enterprise integration solution. The component can connect to backend databases or APIs to load and update tasks, dependencies, and resources in real time. This allows organizations to visualize project schedules, track progress, and synchronize data across enterprise applications, making it suitable for large-scale project management workflows.
Can I integrate DHTMLX Gantt with Salesforce?
Yes, DHTMLX Gantt can be integrated with Salesforce to build a Salesforce Gantt chart inside the platform. The library is typically uploaded as a Static Resource and embedded in a Salesforce Lightning Web Component (LWC). Project data, including tasks and links, can be stored in custom Salesforce objects and accessed through Apex classes. This setup enables the Gantt chart to display and manage project schedules while keeping data synchronized with Salesforce records.
Can I connect it to the REST API?
DHTMLX Gantt can be integrated with a backend using a Gantt chart REST API. You can implement a RESTful API on the server and connect it using the built-in DataProcessor module. DataProcessor tracks changes in tasks or links and automatically sends AJAX requests to the API when data is added, updated, or deleted.
Does it support GraphQL?
DHTMLX Gantt can be used to build a GraphQL Gantt chart by connecting the component to a GraphQL backend through custom data requests. Developers can fetch tasks and links from a GraphQL API and then load the data into the chart using the Gantt API.
How do I use DHTMLX Gantt with an AI coding assistant or MCP server?
DHTMLX Gantt provides Agent Skills and an MCP server for AI-assisted development. Install the appropriate Gantt skill to help coding assistants follow DHTMLX integration patterns, and connect the DHTMLX MCP server to give them access to the latest documentation and API reference while generating or reviewing code.
Customization
Does DHTMLX Gantt support themes?
DHTMLX Gantt supports a variety of Gantt chart themes to change the appearance of the project timeline. You can apply predefined skins, including Terrace, Dark, Material, and Contrast, by including the corresponding CSS files. Themes can also be customized with CSS variables to match the design of your web application.
Can I change timeline scales?
DHTMLX Gantt allows you to customize the Gantt timeline scale in JavaScript to display time units that fit your project. You can configure multiple scales (e.g., hours, days, weeks, months) using the scale_unit, date_scale, and subscales properties.
Can I customize the task appearance?
DHTMLX Gantt provides multiple ways to customize the Gantt chart task appearance. Developers can change task colors, text styles, and progress bars using CSS, templates, or task properties. It's allowed to use templates, e.g., task_class, to dynamically apply custom styles based on task data.
Can I create custom task templates?
With DHTMLX Gantt, you can create Gantt chart templates to customize how tasks are rendered. You can use built-in template functions, e.g., task_text, task_class, and task_bar_height, to define custom task labels, CSS classes, sizes, and visual elements. These template functions allow you to tailor the appearance and content of taskbars based on your data or logic.
Can I customize tooltips?
The Gantt chart tooltip customization is available via its built-in tooltip API. You can enable default tooltips or define custom content by using gantt.templates.tooltip_text and event handlers to specify what is shown when users hover over tasks, links, or scales. This lets you include custom HTML, task details, or additional project information in the tooltip display.
Can I configure working time and calendars?
DHTMLX Gantt supports configuring Gantt working time calendar settings to define work hours, non‑working days, and custom work schedules. You can set global working hours, enable automatic exclusion of weekends, and define custom time scales using gantt.setWorkTime(), calendar assignments, and worktime helpers.
Does it support localization?
DHTMLX Gantt supports Gantt chart localization through built-in language files and configurable locale settings. This makes it easy to adapt date formats, texts, and UI elements to different languages and regions, creating a user-friendly project management interface for international teams.
Export and Import
Can I export large projects?
DHTMLX Gantt can export large Gantt project data efficiently using its export API. The library supports exporting to PDF, PNG, Excel, Primavera P6, and MS Project formats, even for charts with thousands of tasks and links.
Can I export a Gantt chart to PDF?
DHTMLX Gantt supports Gantt chart export PDF functionality through a built-in export API. You can enable the export_api plugin and call the gantt.exportToPDF() method to generate a PDF file of the chart. The export can use the DHTMLX online export service or a locally installed export module on your server. You can also customize the output by setting parameters such as file name, page format, orientation, header, footer, or exported date range.
Can I export to Excel?
Yes, DHTMLX Gantt supports Gantt chart export Excel functionality through its export API. You can enable the export_api plugin and call the gantt.exportToExcel() method to generate an .xlsx file from the chart data. The export can use the DHTMLX online export service or a locally installed export module.
Can I import tasks from Excel?
DHTMLX Gantt allows you to import Excel to Gantt chart using its Excel integration features. You can use the importExcel method to load task and link data from .xlsx files directly into the chart. This enables developers to convert spreadsheet-based project plans into interactive Gantt timelines, preserving task details, start/end dates, durations, and dependencies.
Does DHTMLX Gantt support PNG export?
DHTMLX Gantt supports Gantt chart export to PNG and allows saving the current Gantt timeline as an image that can be shared or embedded in reports. You can enable the export_api plugin and call the gantt.exportToPNG() method to generate a PNG image of the chart. The export can use the DHTMLX online export service or a locally deployed export module.
Does DHTMLX Gantt support server-side export?
DHTMLX Gantt supports server-side Gantt export using its export modules. You can deploy the export service on your own server instead of using the online export service, which allows exporting charts to PDF, PNG, Excel, iCal, and MS Project directly from the server. This setup is useful for handling large datasets, automating report generation, and integrating Gantt export into enterprise workflows.
Alternatives
How do I choose a JavaScript Gantt chart library for my project?
Start with your requirements for task scheduling, resource management, framework integration, customization, and licensing. Test shortlisted libraries with realistic task volumes and dependencies, and review their documentation and support options. Our guide to the Top 8 JavaScript Gantt Chart Libraries provides an overview to help you compare options and choose a suitable component.
Is DHTMLX Gantt a Bryntum Gantt alternative?
DHTMLX Gantt is an alternative to Bryntum Gantt for creating project planning applications. Both cover core enterprise requirements, including dependency-based scheduling, calendars, critical path calculations, and resource control. DHTMLX Gantt combines a lighter package with lower memory usage under large workloads, which can be particularly beneficial for data-intensive systems with large numbers of tasks and dependencies.
How does DHTMLX Gantt compare with Syncfusion Gantt?
Both DHTMLX Gantt and Syncfusion Gantt provide advanced scheduling, resource management, and customization capabilities. DHTMLX Gantt additionally supports server-side scheduling with Node.js and bidirectional data exchange with MS Project and Primavera P6, making it well suited for enterprise applications with complex backend and project data integration requirements.
Is DHTMLX Gantt suitable as an open-source Gantt alternative?
Yes, DHTMLX Gantt Community Edition is open source and distributed under the MIT license. It can be installed from npm or downloaded from GitHub and used in both commercial and open-source projects. For applications that require advanced features such as auto-scheduling, or resource management, you can upgrade to a commercial PRO edition.
Try DHTMLX Gantt PRO
in Your Project for Free
Download a free 30-day trial of the full-featured DHTMLX Gantt PRO, and experiment with the robust performance, flexible customization, and high-rated official tech support.
NO credit card required
Official technical support included
Gantt Banner image