This project demonstrates how to integrate the DHTMLX React Gantt component with MobX for state management in a React application.
The setup uses React 19+ and Vite, with full TypeScript support.
Related tutorial: https://docs.dhtmlx.com/gantt/integrations/react/state/mobx/
-
Powerful Gantt chart UI for project planning and task management.
-
Task and link creation, update, and deletion managed through MobX store actions.
-
React component driven approach with props controlling Gantt configuration.
-
Seamless MobX integration for reactive and powerful state management.
-
Support for zoom levels (day, month, year), undo/redo operations, and drag-and-drop functionality.
-
Interactive toolbar with Material-UI components for enhanced user experience.
-
Strong TypeScript support for type-safe usage.
src/
├── components/
│ ├── GanttComponent.tsx # Main Gantt chart component with MobX integration
│ └── Toolbar.tsx # Material-UI toolbar with zoom and undo/redo controls
├── seed/
│ └── Seed.ts # Initial data (tasks, links, zoom levels)
├── store.ts # MobX store
├── App.tsx
├── main.tsx
└── index.css
Install dependencies:
npm install
or
yarn
npm run dev
or
yarn dev
Source code in this repo is released under the MIT License.
DHTMLX React Gantt is a commercial library - use under a valid DHTMLX license or evaluation agreement.