TreeGrid GanttChart

Interactive JavaScript Gantt chart and row-based bar chart built on top of TreeGrid

Display and edit complex project schedules and resource timelines with the full power of TreeGrid.

Why GanttChart

Comprehensive Project Management

Full-featured Gantt chart and bar chart solution for project scheduling, resource management and task tracking directly in the browser.

Interactive Scheduling

Drag-and-drop tasks and dependencies, automatic scheduling, critical path analysis, resource allocation and real-time updates for complex project plans.

Resource Management

Bar chart capabilities for service and resource management, multiple bars per task, overlap detection and detailed utilization tracking.

Highly Customizable

Advanced Gantt and bar chart features with configurable headers, styles, tooltips, API events and extensive configuration options.

Powerful TreeGrid Integration

Built on TreeGrid's proven grid engine: tree structures, sorting, grouping, filtering and all advanced grid capabilities available for Gantt.

Cross-Platform Support

Runs in all modern browsers and on mobile devices. Compatible with Angular, React, Vue and other JavaScript frameworks.

Main Gantt Chart Features

Powerful project management and scheduling capabilities

Project Management

Enterprise-level project scheduling

Designed for project management - tasks planning and scheduling.
Web application core with functionality similar to MS Project or Oracle Primavera
Automatic task scheduling based on dependencies and calendars.
Manual task scheduling controlled by toolbar buttons or API calls.
Critical path calculation and visualization.

Gantt objects

Base interactive objects in chart

Tasks with customizable start, end dates and duration.
Split (discrete) tasks composed of multiple parts, scheduled as one logical task, usable for actual completion representation.
Multiple tasks in one row cell, each scheduled independently.
Milestones to mark key project events, including start and finish milestones.
Flags - custom icons on selected dates with configurable tooltips.

Resources management

Resource types and availability

Task resources with work and material resource types.
Task cost calculation based on resource assignment and duration.
Resource availability and usage charts, standalone or integrated into Gantt chart.
Task filtering by resources.

Calendars

Work time & holidays

Project and work calendars with configurable working hours.
Custom calendars per task defining working hours, holidays and exceptions.
Calendar dates highlighted in the chart using custom colors.

Dependencies

Types of dependencies between tasks

Dependencies between tasks as successors and / or predecessors.
Dependency types: finish-to-start (FS), finish-to-finish (FF), start-to-start (SS), start-to-finish (SF). Multiple dependencies between two tasks (SS + FF).
Dependency lags in all time units (hours, days, elapsed days, etc.)
Dependency floats as available dependency span for automatic scheduling.
Circular dependencies detection.
Incorrect dependencies highlighted.
Create and modify dependencies by dragging between tasks.

Display & Zoom

Header, background and chart scale

Fully customizable Gantt headers with multiple time units and formats.
Multiple Gantt headers on top, bottom in the grid center.
Highlight specific dates or ranges in background or foreground.
Zoom in/out of the Gantt chart for different time scales.
Smooth zoom over a selected date range.
Custom zoom levels with configurable unit size, width and visual style.
RTL version for Middle East languages including Hijri dates and calendar.

Constraints

Extended scheduling

Project start and finish date constraints.
Schedule tasks as soon as possible (ASAP) or as late as possible (ALAP).
Task date constraints: early start (SNET), early finish (FNET), late start (SNLT), late finish (FNLT) and mandatory start (MSO) and mandatory end (MFO).
Date constraints represented as interactive icons and changeable via drag & drop.

Interactivity

User interface

Interactive editing: drag & drop for rescheduling tasks and other objects.
Fully customizable behavior using key and mouse action schemes.
Customizable context menus for quick access to common operations.
Automatic validation of changes in chart and automatic error correction.

API & Events

Extensive programming interface

Rich API for programmatic control of all Gantt and bar features.
Event handlers for user actions and data changes.
Hooks for integrating custom business logic.
Data import / export in multiple formats (XML, JSON, XLSX).
Chart chart export to XLSX.
Server-side integration for data persistence.
Printing and PDF export with custom settings.
Comprehensive documentation, examples and tutorials.

Visual Customization

Flexible styling and appearance

Custom styles for tasks, milestones and dependencies.
Color-coding by status, priority or resource.
Progress indicators and percent complete visualization.
Custom tooltips with detailed task information.
Background patterns for weekends and holidays.
Baseline comparison for tracking schedule variance.
"Today" marker line indicating current date.
Theme support for consistent branding across the application.

Main Bar Chart Features

For all row based chart types and calendars

Resource management or calendars

Typical bar chart scenarios

Especially suitable for service or resource management.
Ideal for row-based task calendars.
Usable for any other interactive row-based bar chart.
Multiple independent bars per row cell for complex schedules.
Multiple dependent bars in a row for continuous operations.
Dependent bars automatically moved or resized to avoid overlaps.

Bar types

Features and content

Bar properties: type, width, caption, background, CSS class and tooltip.
Bar options: normal, empty, not movable, not resizable, start / end, ...
Overlapped bars can be wrapped or highlighted or restricted.
Custom HTML content in bars, including dynamic content.
Unique bar identification for manipulation and persistence.

Interactive Editing

Direct manipulation and control

Interactive bars created, resized, moved and deleted by mouse dragging.
All bar settings can be changed from context menu or by API.
Moving bars within a row, between rows, between grids or custom containers.
Joined bars - move joined bars together, split or join bars by dragging.
Bar groups - manipulate multiple bars together, including across rows.
Bar selection - select and edit multiple bars together, including across rows.

Extensions

Use with other Gantt objects and features

Use Gantt header, zoom, dependencies or resources with bar charts.
Display flags, tasks or milestones together with bars in a single cell.
Use all TreeGrid functionality (sort, filter, group, search, print, export) with bar charts.
Special interactive point icon objects for math or event charts.

Complete Web Grid Features

Comprehensive TreeGrid capabilities integrated with Gantt and Bar functionality

Cell Types

Many cell types and their features

Cell types: text, HTML, number, date, checkbox, combo box, image, link, etc.
Editable link and image types.
Radio button cells and their dependencies.
More side icons and buttons in cells.
Switch and popup buttons types.
Upload file cell type.

Calculations & formatting

Cell formats and Excel-like and JavaScript formulas

Full Excel-style editable formula engine with 200+ functions.
Expression-based calculations and custom formulas.
Full JavaScript formulas and calculations in data.
Advanced formatting based on type and format strings.
Conditional formatting with custom rules and conditions.

Advanced Layout

Special grid structure features

Sticky cell text remains visible during horizontal scrolling.
Cell spanning across rows, columns or both directions.
Nested grids - embed another grid inside a cell.
Built-in master & detail grids.
Row, column and cell state colors and indicators.
RTL (right-to-left) display for Middle Eastern languages.
Side and horizontal pagers for navigating large datasets.
Cell hint to show the overflowed cell value in-place.
Synchronized layouts between multiple grids on the same page.

Layout Operations

Rows & columns manipulation

Add, copy and delete rows and columns.
Resize, move and hide row and columns.
Freeze rows and columns on all sides.
Drag rows or columns between grids.
Resize row and column sections and the entire grid.
Span cells dynamically for layout flexibility.
Multiple selection modes: row, column, cell and range.
Copy & paste rows, columns and cell ranges.
Full undo & redo support.

Cell Editing

Excel-like editing and navigation

In-cell editing with Excel-like keyboard navigation.
Single-cell or range cursor.
Auto-complete with suggestions and rules.
Advanced validation via custom rules or regex.
Input masks with regular expressions.
Multi-line editing in text areas
Rich text editing with full formatting and styling.
Permanent edit mode for always-on editing scenarios

Advanced Editing

Extra editing features

Auto-fill and smart fill-down operations.
Copy & paste cells and ranges from and to Excel and other spreadsheets.
Calendar picker for date cells.
Dates dialog for selecting ranges and repeating dates.
Inserting images floating above cells like in Excel.
Manipulating and changing images by mouse dragging.
Entering individual tags visually separated and highlighted.

Tree & Hierarchical Data

Multi-level structures and pivot tables

Unlimited tree hierarchy for rows and columns.
Expand & collapse with keyboard shortcuts.
Dynamic multi level pivot tables with drag & drop configuration.
Editable pivot cells with automatic or custom aggregation
Flexible grouping with automatic or custom aggregation
Tree filtering and search capabilities for hierarchical datasets.

Filtering & Analysis

Advanced filtering, sorting and data analysis

Excel-style auto-filter with checkbox lists.
Expression filtering with custom operators
Global Google-like full-text search.
Custom filter functions and predicates.
Multi-column sorting with custom comparators.
Aggregation functions (sum, average, count, ...).
Statistical analysis and data summaries.

Export & Integration

Export capabilities and framework support

Export to XLSX, CSV, PDF with customizable styling.
Print-ready layouts with multi-page splitting and scaling.
HTML export with full formatting preservation.
Synchronize changes via AJAX, form submits or custom API.
Works with React, Vue, Angular, Svelte and Vanilla JavaScript.
Full TypeScript definitions and IntelliSense support.
Comprehensive API and event system.
Can be used without writing custom JavaScript.
Cross-browser compatibility (Chrome, Firefox, Safari, Edge).
Salesforce LWC & CSP compatibility.

Customization & Theming

Flexible styling and customization

Full theming support with JSON customization.
Built-in themes and custom theme creation.
Responsive design with mobile and touch support.
Customizable toolbar and context menu options.
Customizable cell styling and formatting.
Custom cell renderers and editors.
Styling individual cells by CSS class or HTML prefix / suffix.
Localized to 14 languages, including all texts and date and number formats.
Fully customizable key and mouse navigation action schemes.

Technical Specifications

Supported Browsers

Logo ChromeChrome
Logo EdgeEdge
Logo SafariSafari
Logo FirefoxFirefox
Logo Android WebViewAndroid
Logo Samsung InternetSamsung
Logo OperaOpera

And all Gecko and WebKit / Chromium / Blink engine clones

JavaScript Frameworks

The TreeGrid package includes examples and documentation for use with JavaScript frameworks:

ReactJavaScript / TypeScript
AngularTypeScript
VueJavaScript / TypeScript
SvelteJavaScript / TypeScript
EmberJavaScript / TypeScript
ExpressJavaScript
SalesForce LWCJavaScript
OtherHTML, JavaScript

The package can be used in any other client-side framework that supports third-party JavaScript code.

Server-Side Support

The TreeGrid package includes examples and predefined server script code:

NodeJS (JavaScript)
ASP.NET (C#, Visual Basic)
JSP (Java)
PHP
HTML (other)

TreeGrid GanttChart can integrate with any backend returning XML or JSON.

Run Bar Example

Articles about GanttChart

Real-world use cases, architecture notes and tips from teams shipping high-performance Gantt charts.

Buyer Guide · Project Planning

JavaScript Gantt Chart Buyer's Guide

A JavaScript Gantt chart is a specialized component for project planning, scheduling and resource management inside a web application. It is not just a chart.

Read article
July 20258 min readGanttScheduling

Security Guide · JavaScript Components

CSP-Compatible JavaScript Components Guide

Content Security Policy, usually called CSP, is an important security mechanism for modern web applications. It helps control which scripts and resources.

Read article
July 20259 min readSecurityCSP

Framework Guide · React

React Data Grid Guide

A React data grid must do more than display rows. It must fit React's component model, state management patterns, rendering behavior and TypeScript usage.

Read article
July 20259 min readReactData Grid

Framework Guide · Angular

Angular Data Grid Guide

An Angular data grid must fit enterprise application architecture. Angular is widely used in structured, long-lived business applications where.

Read article
July 20258 min readAngularData Grid

Framework Guide · Vue

Vue Data Grid Guide

A Vue data grid should combine a smooth developer experience with enough performance and flexibility for real applications. Vue is often chosen for its.

Read article
July 20258 min readVueData Grid

Frameworks · Integration

Which JavaScript frameworks do data grids support?

Modern data grids need to fit real frontend stacks. Here is how framework support works across React, Angular, Vue, Svelte and Vanilla JavaScript.

Read article
June 20256 min readFrameworksJavaScript

Product Comparison · Data Grids

Which TreeGrid Component Should You Choose?

TreeGrid offers several JavaScript components for enterprise data applications. They share the same focus on complex browser-based data work, but they are.

Read article
June 20253 min readComparisonTreeGrid

Product Comparison · Project Planning

TreeGrid vs GanttChart: Grid Component or Project Scheduling Component?

TreeGrid and GanttChart are closely connected. GanttChart is built on the TreeGrid engine, which means it benefits from TreeGrid’s grid capabilities such.

Read article
June 20253 min readComparisonScheduling

Project Management · Scheduling · JavaScript

10 things to watch out for when implementing a JavaScript Gantt Chart for project planning

A Gantt chart is not just a timeline. Dependencies, calendars, resources, critical path and drag-and-drop changes all need clear planning rules.

Read article
June 202511 min readGanttChartScheduling

Project Management · Scheduling · JavaScript

MS Project in your browser: GanttChart in real-world projects

Dependencies, critical path, resource tracking — natively in the browser. Replace desktop project tools with GanttChart.

Read article
June 20259 min readEnterpriseProject Management

Frequently Asked Questions

Everything you need to know about GanttChart

What is GanttChart and who should use it?

GanttChart is a browser-based project planning and scheduling component built on TreeGrid's grid engine. It is aimed at development teams building project management applications, resource planners, or any web application that needs interactive timeline and scheduling functionality comparable to MS Project or Oracle Primavera.

What types of Gantt objects are supported?

GanttChart supports tasks with configurable start, end dates, and duration; split tasks composed of multiple parts scheduled as one logical unit; multiple independent tasks in a single row; milestones for key project events; and custom flag icons placed on specific dates with configurable tooltips.

How are task dependencies handled?

GanttChart supports finish-to-start (FS), finish-to-finish (FF), start-to-start (SS), and start-to-finish (SF) dependency types, including multiple dependency types between two tasks. Dependency lags in all time units are supported. Circular and incorrect dependencies are automatically detected and highlighted. Dependencies can be created and modified by dragging between tasks.

Does GanttChart support automatic scheduling?

Yes. Tasks can be scheduled automatically based on dependencies and work calendars. Critical path calculation and visualization is included. Manual scheduling via toolbar buttons or API calls is also supported, along with ASAP and ALAP scheduling modes and a full set of date constraints.

What resource management features are available?

GanttChart supports work and material resource types, task cost calculation based on resource assignment and duration, resource availability and utilization charts (standalone or embedded in the Gantt view), and task filtering by resource.

Can GanttChart also display bar charts for non-project use cases?

Yes. In addition to the Gantt module, GanttChart includes a bar chart module designed for service and resource management, row-based task calendars, or any interactive row-based timeline. Multiple independent or dependent bars per row are supported, with automatic overlap detection and resolution. Bars can be created, resized, moved, and deleted by mouse dragging, and can be moved between rows or even between grids.

What calendar and work time options are available?

GanttChart supports project-level and task-level work calendars with configurable working hours, holidays, and exceptions. Calendar dates are visually highlighted in the chart using custom colors. RTL mode is available for Middle Eastern languages including Hijri dates and calendars.

How customizable is the chart display?

Gantt headers are fully customizable with multiple time units and formats, and can appear at the top, bottom, or center of the grid. The chart supports zoom in/out with smooth zoom over a selected date range, custom zoom levels, color-coding by status or priority, progress indicators, baseline comparison, a "today" marker line, and background patterns for weekends and holidays.

What grid features are available alongside the Gantt?

GanttChart is built on the full TreeGrid engine, so all grid features are available: unlimited tree hierarchy, pivot tables with drag-and-drop configuration, Excel-style filtering and full-text search, multi-column sorting, aggregation functions, Excel-compatible formula engine with 200+ functions, conditional formatting, nested grids, master-detail layouts, and complete undo/redo support.

What export options does GanttChart support?

Data can be exported to XLSX (including the Gantt chart itself), CSV, PDF, and HTML with full formatting. Print-ready layouts with multi-page splitting and scaling are included. Import and export in XML and JSON formats are also supported for server-side integration.

Which frameworks and browsers does GanttChart support?

GanttChart works with React, Vue, Angular, Svelte, Ember, Express, and Salesforce LWC in JavaScript and TypeScript. It runs in all modern browsers: Chrome, Edge, Safari, Firefox, Opera, Android WebView, and Samsung Internet.

Transform Your Project Management

TreeGrid GanttChart brings enterprise-level project and resource management to your web application.

Live Examples Download Demo Contact