Перейти к основному содержимому

React Gantt

React Gantt is the official React wrapper for DHTMLX Gantt. It lets you use the Gantt chart as a React component while still supporting the full configuration API.

If you want a complete description of how React Gantt works and what features it provides, start with the Overview.

Get started

If you're new to the wrapper, follow this order:

  1. Installation - choose Evaluation (public npm) or Professional (private npm) version of React Gantt.
  2. Quick Start - render your first chart and verify the setup.
  3. Configuration - learn how to work with props, templates, and event handlers.

Framework integrations

If your app is built with a meta-framework, use these guides for a framework-appropriate setup:

  • Next.js - client component setup and common SSR constraints
  • Remix - route-based setup and integration notes

Choose a data binding model

React Gantt supports two data binding approaches:

  • React-managed data (recommended for most React apps). You keep tasks/links in React or in a state manager, pass them as props, and handle updates via data.save/data.batchSave callbacks.

  • Gantt-managed data (useful in specialized, performance-sensitive cases) You initialize data once and let Gantt (and your backend) own the data life cycle. React does not re-apply updated props after each change.

To understand both approaches and their trade-offs, read the Data Binding & State Management Basics.

Data & state tutorials

If you're using a state management library, the guides in Data & State Management show the same integration pattern implemented for each library (Redux Toolkit, Zustand, MobX, and more), plus real-time sync with Firebase.

Examples and evaluation resources

If you're evaluating React Gantt, the evaluation page provides access to technical support during the evaluation period. See Installation.